Fix package name

master
Daniel Berteaud 6 years ago
parent 3d987b6dae
commit ac8531b722
  1. 12
      WAPT/control
  2. 5
      setup.py

@ -1,18 +1,18 @@
package : fws-wapt-firefox-config package : fws-firefox-config
version : 1 version : 2
architecture : all architecture : all
section : base section : base
priority : optional priority : optional
maintainer : Daniel Berteaud maintainer : Daniel Berteaud
description : Configuration management for Firefox description : Configuration management for Firefox
depends : depends : fws-firefox-esr
conflicts : conflicts :
maturity : DEV maturity : DEV
locale : locale :
target_os : target_os : windows
min_os_version : min_os_version : 5
max_os_version : max_os_version :
min_wapt_version : min_wapt_version : 1.5
sources : sources :
installed_size : installed_size :
impacted_process : impacted_process :

@ -20,7 +20,10 @@ if isfile(makepath(programfiles32,'wapt','private','symetric.txt')) and isfile(m
def install(): def install():
filecopyto('autoconf.js',makepath(programfiles,'Mozilla Firefox','defaults','pref')) filecopyto('autoconf.js',makepath(programfiles,'Mozilla Firefox','defaults','pref'))
filecopyto('override.ini',makepath(programfiles,'Mozilla Firefox')) filecopyto('override.ini',makepath(programfiles,'Mozilla Firefox'))
jinja2 = Environment(loader=FileSystemLoader(os.path.dirname(os.path.abspath(__file__))),trim_blocks=True) jinja2 = Environment(
loader=FileSystemLoader(os.path.dirname(os.path.abspath(__file__))),
trim_blocks=True
)
open(makepath(programfiles,'Mozilla Firefox','firefox.cfg'),'w').write( open(makepath(programfiles,'Mozilla Firefox','firefox.cfg'),'w').write(
jinja2.get_template('firefox.cfg.j2').render( jinja2.get_template('firefox.cfg.j2').render(
firefox_config_url = variables['firefox_config_url'], firefox_config_url = variables['firefox_config_url'],

Loading…
Cancel
Save