[Pkg-mozext-commits] [SCM] Collection of development scripts used for XUL extensions. branch, master, updated. 0.23-77-g4729385

Benjamin Drung bdrung at debian.org
Fri Dec 7 00:59:50 UTC 2012


The following commit has been merged in the master branch:
commit 4729385569c3c3169b6cc9abbb82bf96b4630ba1
Author: Benjamin Drung <bdrung at debian.org>
Date:   Fri Dec 7 01:59:40 2012 +0100

    Improve error message (tell user how to fix it).

diff --git a/dh_xul-ext b/dh_xul-ext
index 1486c14..418feb8 100755
--- a/dh_xul-ext
+++ b/dh_xul-ext
@@ -189,9 +189,11 @@ def _get_id_max_min_triple(script_name, package, install_rdf):
         # Sanity check version range
         if compare_versions(min_version, max_version) > 0:
             msg = ("%s: %s contains an invalid version range for %s:\n"
-                   "%s: minVersion <= maxVersion is required, but %s > %s.") % \
+                   "%s: minVersion <= maxVersion is required, but %s > %s.\n"
+                   "%s: Please either fix the versions or remove the entry "
+                   "from install.xpi.") % \
                    (script_name, package, appid, script_name, min_version,
-                    max_version)
+                    max_version, script_name)
             print >> sys.stderr, msg
             failures += 1
     if failures > 0:

-- 
Collection of development scripts used for XUL extensions.



More information about the Pkg-mozext-commits mailing list