[maemo-commits] [maemo-commits] r15041 - in projects/haf/trunk/dpkg: . debian

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 9 16:41:12 EET 2008
Author: marivoll
Date: 2008-01-09 16:41:11 +0200 (Wed, 09 Jan 2008)
New Revision: 15041

Modified:
   projects/haf/trunk/dpkg/configure.ac
   projects/haf/trunk/dpkg/debian/changelog
   projects/haf/trunk/dpkg/debian/dpkg.postinst
Log:
dpkg (1.14.7maemo4) unstable; urgency=low

  [ Marius Vollmer, for maemo ]

  * dpkg.postinst: Do not fail when the /etc/rc?.d directories do not
    exist.

 -- Marius Vollmer <marius.vollmer at nokia.com>  Wed, 09 Jan 2008 16:33:18 +0200


Modified: projects/haf/trunk/dpkg/configure.ac
===================================================================
--- projects/haf/trunk/dpkg/configure.ac	2008-01-09 14:13:20 UTC (rev 15040)
+++ projects/haf/trunk/dpkg/configure.ac	2008-01-09 14:41:11 UTC (rev 15041)
@@ -1,7 +1,7 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.59)
-AC_INIT([dpkg], [1.14.7maemo3], [maemo-developers at maemo.org])
+AC_INIT([dpkg], [1.14.7maemo4], [maemo-developers at maemo.org])
 AC_CONFIG_SRCDIR([lib/dpkg.h])
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_AUX_DIR([config])

Modified: projects/haf/trunk/dpkg/debian/changelog
===================================================================
--- projects/haf/trunk/dpkg/debian/changelog	2008-01-09 14:13:20 UTC (rev 15040)
+++ projects/haf/trunk/dpkg/debian/changelog	2008-01-09 14:41:11 UTC (rev 15041)
@@ -1,3 +1,12 @@
+dpkg (1.14.7maemo4) unstable; urgency=low
+
+  [ Marius Vollmer, for maemo ]
+
+  * dpkg.postinst: Do not fail when the /etc/rc?.d directories do not
+    exist.
+
+ -- Marius Vollmer <marius.vollmer at nokia.com>  Wed, 09 Jan 2008 16:33:18 +0200
+
 dpkg (1.14.7maemo3) unstable; urgency=low
 
   * Call autogen.sh instead of autoreconf in debian/rules.

Modified: projects/haf/trunk/dpkg/debian/dpkg.postinst
===================================================================
--- projects/haf/trunk/dpkg/debian/dpkg.postinst	2008-01-09 14:13:20 UTC (rev 15040)
+++ projects/haf/trunk/dpkg/debian/dpkg.postinst	2008-01-09 14:41:11 UTC (rev 15041)
@@ -92,6 +92,9 @@
 # Dates back to the days when update-rc.d was part of dpkg.
 remove_duplicate_daemons() {
     for lvl in 0 1 2 3 4 5 6; do
+	if ! [ -d /etc/rc$lvl.d ]; then
+	  continue
+        fi
 	cd /etc/rc$lvl.d
 	for kill in K[0-9][0-9]*; do
 	    if [ -n "`echo \"x$kill\" | tr -d 0-9A-Za-z_-`" ]; then


More information about the maemo-commits mailing list