From ac8531b7224ebccfd213ce2e65620ed9ea625a74 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 5 Dec 2018 17:04:48 +0100 Subject: [PATCH] Fix package name --- WAPT/control | 12 ++++++------ setup.py | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/WAPT/control b/WAPT/control index e2197d6..151f4bd 100644 --- a/WAPT/control +++ b/WAPT/control @@ -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 : diff --git a/setup.py b/setup.py index 2284987..403123c 100644 --- a/setup.py +++ b/setup.py @@ -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'],