[Pkg-samba-maint] [samba] 07/12: Fix libpam-winbind.prerm to be multiarch-safe (Closes: #647430)
Mathieu Parent
sathieu at moszumanska.debian.org
Fri Jul 28 19:14:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
sathieu pushed a commit to branch stretch
in repository samba.
commit e867dd3ed815cdb15862dd913be9437d1d94a085
Author: Mathieu Parent <math.parent at gmail.com>
Date: Wed Jul 19 20:56:13 2017 +0200
Fix libpam-winbind.prerm to be multiarch-safe (Closes: #647430)
Inspired by other packages (systemd, sssd, pam, lxcfs, cgmanager)
(cherry picked from commit e64704dc309639b7321e82153ab68fa600c584a3)
---
debian/libpam-winbind.prerm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/debian/libpam-winbind.prerm b/debian/libpam-winbind.prerm
index e4d8a9f..ad655ca 100644
--- a/debian/libpam-winbind.prerm
+++ b/debian/libpam-winbind.prerm
@@ -2,7 +2,7 @@
set -e
-if [ "$1" = remove ]; then
+if [ "$1" = remove ] && [ "${DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT:-1}" = 1 ]; then
pam-auth-update --package --remove winbind
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