summaryrefslogtreecommitdiff
path: root/src
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 /src
parent2aced5031d1cbf3c26cb53438a4f6e5460dec199 (diff)
Fix typo.
Diffstat (limited to 'src')
-rwxr-xr-xsrc/dh_xul-ext6
1 files changed, 3 insertions, 3 deletions
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