[Pkg-samba-maint] [samba] 08/11: samba: command-with-path-in-maintainer-script postinst:37 /usr/sbin/update-inetd

Mathieu Parent sathieu at moszumanska.debian.org
Wed May 11 21:26:38 UTC 2016


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

sathieu pushed a commit to branch experimental
in repository samba.

commit 3e30735236e0d607555956118f6e2c4f42c19e7a
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Tue May 10 07:27:37 2016 +0200

    samba: command-with-path-in-maintainer-script postinst:37 /usr/sbin/update-inetd
---
 debian/samba.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/samba.postinst b/debian/samba.postinst
index a7dc574..fa95f18 100644
--- a/debian/samba.postinst
+++ b/debian/samba.postinst
@@ -34,7 +34,7 @@ if dpkg --compare-versions "$2" lt-nl 2:3.6.15-2; then
 	fi
 
 	# Remove NetBIOS entries from /etc/inetd.conf
-	if [ -x /usr/sbin/update-inetd ]; then
+	if [ -x "`which update-inetd 2>/dev/null`" ]; then
 		update-inetd --remove netbios-ssn
 	fi
 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