[Pkg-samba-maint] [samba] 01/01: Compare against old package version, rather than the string literal "upgrade".
Jelmer Vernooij
jelmer at moszumanska.debian.org
Thu Jan 23 00:43:38 UTC 2014
This is an automated email from the git hooks/post-receive script.
jelmer pushed a commit to branch master
in repository samba.
commit b61fed3d653cd634b616fb977bdd58241fb5c3a5
Author: Jelmer Vernooij <jelmer at samba.org>
Date: Thu Jan 23 00:41:37 2014 +0000
Compare against old package version, rather than the string literal "upgrade".
---
debian/samba-common.preinst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/samba-common.preinst b/debian/samba-common.preinst
index c311897..afa292a 100644
--- a/debian/samba-common.preinst
+++ b/debian/samba-common.preinst
@@ -3,7 +3,7 @@
set -e
if [ $(readlink -f /etc/dhcp/dhclient-enter-hooks.d/samba) = /etc/dhcp3/dhclient-enter-hooks.d/samba ] \
- && dpkg --compare-versions "$1" le-nl 2:4.1.4+dfsg-2~
+ && dpkg --compare-versions "$2" le-nl 2:4.1.4+dfsg-2~
then
rm -f /etc/dhcp/dhclient-enter-hooks.d/samba
fi
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git
More information about the Pkg-samba-maint
mailing list