fails to purge if module utilities are not installed
Bug #22708 reported by
Debian Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
initrd-tools (Debian) |
Fix Released
|
Unknown
|
|||
initrd-tools (Ubuntu) |
Invalid
|
High
|
Jeff Bailey |
Bug Description
Automatically imported from Debian bug report #330446 http://
Changed in initrd-tools: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
tags 330446 + pending
thanks
I've comitted the following patch to svn.
--- debian/ initrd- tools.postrm (revision 4292) initrd- tools.postrm (working copy)
+++ debian/
@@ -4,7 +4,9 @@
if [ "$1" = purge ]; then modules ]; then modules
rm -rf /etc/mkinitrd
- update-modules
+ if [ -x /sbin/update-
+ /sbin/update-
+ fi
update-rc.d initrd-tools.sh remove > /dev/null
fi
--
dann frazier <email address hidden>