summaryrefslogtreecommitdiff
path: root/debian/apt.postinst
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-10-08 19:46:39 +0200
committerMichael Vogt <mvo@debian.org>2013-10-08 19:46:39 +0200
commit5361a6180571f5921b6c006129b5f0c274b6154b (patch)
treeedeccb303fd9246ddfdac0db125d4883accad072 /debian/apt.postinst
parent3286ad136cbfdb73b97f880ba1ad19a2000781c5 (diff)
debian/apt.postinst: use --compare-versions lt instead of lt-nl, to ensure the apt-auto-removal file is correctly create, thanks to Ben Hutchings
Diffstat (limited to 'debian/apt.postinst')
-rw-r--r--debian/apt.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.postinst b/debian/apt.postinst
index 70de237d0..fd3e273bb 100644
--- a/debian/apt.postinst
+++ b/debian/apt.postinst
@@ -33,7 +33,7 @@ case "$1" in
fi
# create kernel autoremoval blacklist on update
- if dpkg --compare-versions "$2" lt-nl 0.9.9.3; then
+ if dpkg --compare-versions "$2" lt 0.9.9.3; then
/etc/kernel/postinst.d/apt-auto-removal
fi
;;