r4297 - dists/trunk/utils/initrd-tools/debian

Dann Frazier dannf at costa.debian.org
Wed Sep 28 04:27:02 UTC 2005


Author: dannf
Date: 2005-09-28 04:27:01 +0000 (Wed, 28 Sep 2005)
New Revision: 4297

Modified:
   dists/trunk/utils/initrd-tools/debian/changelog
   dists/trunk/utils/initrd-tools/debian/initrd-tools.postrm
Log:
* Don't assume update-modules is available during postrm (closes: #330446)

Modified: dists/trunk/utils/initrd-tools/debian/changelog
===================================================================
--- dists/trunk/utils/initrd-tools/debian/changelog	2005-09-27 21:23:19 UTC (rev 4296)
+++ dists/trunk/utils/initrd-tools/debian/changelog	2005-09-28 04:27:01 UTC (rev 4297)
@@ -1,5 +1,6 @@
 initrd-tools (0.1.83) UNRELEASED; urgency=low
 
+  [ Simon Horman ]
   [Simon Horman]
   * Clarify naming of scripts that will be run.
     Thanks to Simon Schoar. (Closes: #324351)
@@ -7,8 +8,11 @@
     else an image with a relative will not end up where requested
     (closes: #329614)
 
- -- Simon Horman <horms at debian.org>  Mon, 26 Sep 2005 12:04:43 +0900
+  [ dann frazier ]
+  * Don't assume update-modules is available during postrm (closes: #330446)
 
+ -- dann frazier <dannf at debian.org>  Tue, 27 Sep 2005 22:25:43 -0600
+
 initrd-tools (0.1.82) unstable; urgency=low
 
   * Simon Horman

Modified: dists/trunk/utils/initrd-tools/debian/initrd-tools.postrm
===================================================================
--- dists/trunk/utils/initrd-tools/debian/initrd-tools.postrm	2005-09-27 21:23:19 UTC (rev 4296)
+++ dists/trunk/utils/initrd-tools/debian/initrd-tools.postrm	2005-09-28 04:27:01 UTC (rev 4297)
@@ -4,7 +4,9 @@
 
 if [ "$1" = purge ]; then
 	rm -rf /etc/mkinitrd
-	update-modules
+	if [ -x /sbin/update-modules ]; then
+		/sbin/update-modules
+	fi
 	update-rc.d initrd-tools.sh remove > /dev/null
 fi
 




More information about the Kernel-svn-changes mailing list