[Initscripts-ng-commits] r820 - in /trunk/src/insserv/debian: changelog rules

kelmo-guest at users.alioth.debian.org kelmo-guest at users.alioth.debian.org
Sun Jul 27 06:05:27 UTC 2008


Author: kelmo-guest
Date: Sun Jul 27 06:05:27 2008
New Revision: 820

URL: http://svn.debian.org/wsvn/initscripts-ng/?sc=1&rev=820
Log:
Now we have no overrides to install by default, but we may in future,
modify debian/rules to only install overrides from ./debian/overrides/* if
they are present, but not fail otherwise.

Modified:
    trunk/src/insserv/debian/changelog
    trunk/src/insserv/debian/rules

Modified: trunk/src/insserv/debian/changelog
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/changelog?rev=820&op=diff
==============================================================================
--- trunk/src/insserv/debian/changelog (original)
+++ trunk/src/insserv/debian/changelog Sun Jul 27 06:05:27 2008
@@ -52,8 +52,11 @@
     and dependency makefiles.
   * Add test_incorrect_startscripts() to replicate bug report described in
     #492526, and make sure insserv do not regress in this behaviour.
-
- -- Kel Modderman <kel at otaku42.de>  Sun, 27 Jul 2008 10:18:21 +1000
+  * Now we have no overrides to install by default, but we may in future,
+    modify debian/rules to only install overrides from ./debian/overrides/* if
+    they are present, but not fail otherwise.
+
+ -- Kel Modderman <kel at otaku42.de>  Sun, 27 Jul 2008 16:04:07 +1000
 
 insserv (1.11.0-9) unstable; urgency=low
 

Modified: trunk/src/insserv/debian/rules
URL: http://svn.debian.org/wsvn/initscripts-ng/trunk/src/insserv/debian/rules?rev=820&op=diff
==============================================================================
--- trunk/src/insserv/debian/rules (original)
+++ trunk/src/insserv/debian/rules Sun Jul 27 06:05:27 2008
@@ -57,7 +57,12 @@
 	# Add here commands to install the package into debian/$(PACKAGE).
 	$(MAKE) install COPTS="$(CFLAGS)" DESTDIR=$(DESTDIR)
 
-	$(INSTALL_DATA) debian/overrides/* $(DESTDIR)$(pkgdatadir)/overrides/.
+	# Install overrides if present
+	for data in debian/overrides/* ; do \
+		test -f $$data || continue ; \
+		$(INSTALL_DATA) $$data $(DESTDIR)$(pkgdatadir)/overrides/. ;\
+	done
+
 	$(INSTALL) debian/check-initd-order $(DESTDIR)$(pkgdatadir)/.
 	$(INSTALL) debian/seq-changes $(DESTDIR)$(pkgdatadir)/.
 	$(INSTALL) debian/make-testsuite $(DESTDIR)$(pkgdatadir)/.




More information about the Initscripts-ng-commits mailing list