[Pkg-samba-maint] [samba] 01/05: Fix dhclient hook if samba is not installed. Thanks, Jan Braun. Closes: #801976

Jelmer Vernooij jelmer at moszumanska.debian.org
Wed Mar 9 03:58:51 UTC 2016


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

jelmer pushed a commit to branch master
in repository samba.

commit e2fdbec71c1865ecf05ae299a146adba25a625e5
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Tue Mar 8 00:24:13 2016 +0000

    Fix dhclient hook if samba is not installed. Thanks, Jan Braun. Closes: #801976
---
 debian/changelog         | 7 +++++++
 debian/samba-common.dhcp | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 2cb55f5..4a99c61 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+samba (2:4.3.5+dfsg-3) UNRELEASED; urgency=medium
+
+  * Fix dhclient hook if samba is not installed. Thanks, Jan Braun.
+    Closes: #801976
+
+ -- Jelmer Vernooij <jelmer at debian.org>  Tue, 08 Mar 2016 00:24:10 +0000
+
 samba (2:4.3.5+dfsg-2) unstable; urgency=medium
 
   * Move strict ldb dependency to samba-dsdb-modules package, which
diff --git a/debian/samba-common.dhcp b/debian/samba-common.dhcp
index b86dfeb..9125a26 100644
--- a/debian/samba-common.dhcp
+++ b/debian/samba-common.dhcp
@@ -68,7 +68,7 @@ netbios_setup() {
 
 	# reload the samba server
 	# We don't necessarily have the samba package installed. #414841
-	[ -x /etc/init.d/smbd ] && /usr/sbin/invoke-rc.d smbd reload
+	[ ! -x /etc/init.d/smbd ] || /usr/sbin/invoke-rc.d smbd reload
 
 }
 

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