summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Drung <bdrung@ubuntu.com>2009-12-16 10:25:39 +0100
committerBenjamin Drung <bdrung@ubuntu.com>2009-12-16 10:25:39 +0100
commita6ae3103a8ec717977ea8d665778bde3ba41eab2 (patch)
tree7152bc3c1be983bf73f8fda2efca95648a051b44
parent2aced5031d1cbf3c26cb53438a4f6e5460dec199 (diff)
Fix typo.
-rw-r--r--debian/control2
-rwxr-xr-xsrc/dh_xul-ext6
2 files changed, 4 insertions, 4 deletions
diff --git a/debian/control b/debian/control
index 60c436d..a16e6a8 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Depends: dpkg-dev,
fakeroot,
libxml-xpath-perl,
python,
- python-rdflib
+ python-rdflib,
quilt,
unzip,
wget,
diff --git a/src/dh_xul-ext b/src/dh_xul-ext
index e9c4276..4446966 100755
--- a/src/dh_xul-ext
+++ b/src/dh_xul-ext
@@ -45,16 +45,16 @@ def get_xul_apps():
if line == "\n":
if xul_appid is not None:
# find duplicates and keep older version
- found_duclicate = False
+ found_duplicate = False
for i in xrange(len(packages) - 1, -1, -1):
if packages[i][0] == package_name:
command = ['dpkg', '--compare-versions', version, 'lt', packages[i][1]]
if subprocess.call(command) == 0:
del packages[i]
else:
- found_duclicate = True
+ found_duplicate = True
break
- if not found_duclicate:
+ if not found_duplicate:
packages.append([package_name, version, xul_appid, xul_eol])
package_name = None
version = None