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
version : 1
package : fws-firefox-config
version : 2
architecture : all
section : base
priority : optional
maintainer : Daniel Berteaud
description : Configuration management for Firefox
depends :
depends : fws-firefox-esr
conflicts :
maturity : DEV
locale :
target_os :
min_os_version :
target_os : windows
min_os_version : 5
max_os_version :
min_wapt_version :
min_wapt_version : 1.5
sources :
installed_size :
impacted_process :

@ -20,7 +20,10 @@ if isfile(makepath(programfiles32,'wapt','private','symetric.txt')) and isfile(m
def install():
filecopyto('autoconf.js',makepath(programfiles,'Mozilla Firefox','defaults','pref'))
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(
jinja2.get_template('firefox.cfg.j2').render(
firefox_config_url = variables['firefox_config_url'],

Loading…
Cancel
Save