[Pkg-samba-maint] [samba] 02/07: Remove unused alternatives links on upgrade in samba-common-bin.prerm

Ivo De Decker idd-guest at alioth.debian.org
Mon Oct 14 20:23:20 UTC 2013


This is an automated email from the git hooks/post-receive script.

idd-guest pushed a commit to branch samba_4.0
in repository samba.

commit 005bd47a54d7ce7c972156630b2c9b49bc1337e6
Author: Ivo De Decker <ivo.dedecker at ugent.be>
Date:   Mon Oct 14 19:46:24 2013 +0200

    Remove unused alternatives links on upgrade in samba-common-bin.prerm
---
 debian/changelog              |    1 +
 debian/samba-common-bin.prerm |    6 +++---
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index faf58d5..f5bdf34 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ samba (2:4.0.10+dfsg-3) UNRELEASED; urgency=low
 
   * Include /etc/pam.d/samba in samba-common. It got lost somewhere in the
     samba4 merge. Closes: #726183
+  * Remove unused alternatives links on upgrade in samba-common-bin.prerm.
 
  -- Ivo De Decker <ivo.dedecker at ugent.be>  Mon, 14 Oct 2013 19:33:04 +0200
 
diff --git a/debian/samba-common-bin.prerm b/debian/samba-common-bin.prerm
index 797f381..40f5553 100644
--- a/debian/samba-common-bin.prerm
+++ b/debian/samba-common-bin.prerm
@@ -3,9 +3,9 @@
 set -e 
 
 if test "x$1" = "xupgrade" ; then
-	update-alternatives --remove nmblookup /usr/bin/nmblookup.samba3
-	update-alternatives --remove net /usr/bin/net.samba3
-	update-alternatives --remove testparm /usr/bin/testparm.samba3
+	update-alternatives --remove-all nmblookup /usr/bin/nmblookup.samba3
+	update-alternatives --remove-all net /usr/bin/net.samba3
+	update-alternatives --remove-all testparm /usr/bin/testparm.samba3
 fi
 
 #DEBHELPER#

-- 
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