[Pkg-samba-maint] r3902 - trunk/samba/debian

vorlon at alioth.debian.org vorlon at alioth.debian.org
Sun Sep 25 23:53:04 UTC 2011


Author: vorlon
Date: 2011-09-25 23:53:04 +0000 (Sun, 25 Sep 2011)
New Revision: 3902

Modified:
   trunk/samba/debian/rules
Log:
group our directory creation together with file installation

Modified: trunk/samba/debian/rules
===================================================================
--- trunk/samba/debian/rules	2011-09-25 23:51:51 UTC (rev 3901)
+++ trunk/samba/debian/rules	2011-09-25 23:53:04 UTC (rev 3902)
@@ -126,8 +126,6 @@
 	dh_clean -k
 	dh_installdirs
 
-	mkdir -p $(DESTDIR)/etc/dhcp3/dhclient-enter-hooks.d
-
 	$(MAKE) -C source3 install DESTDIR=$(DESTDIR)
 
 	# Rename to *.samba3 for alternatives
@@ -150,6 +148,7 @@
 
 	# Install samba-common's conffiles - they'll get moved later to their
 	# correct place by dh_install
+	mkdir -p $(DESTDIR)/etc/dhcp3/dhclient-enter-hooks.d
 	install -m755 debian/samba-common.dhcp $(DESTDIR)/etc/dhcp3/dhclient-enter-hooks.d/samba
 	mkdir -p $(DESTDIR)/etc/network/if-up.d
 	install -o root -g root debian/samba.if-up $(DESTDIR)/etc/network/if-up.d/samba





More information about the Pkg-samba-maint mailing list