summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools.postinst
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
committermaximilian attems <maks@debian.org>2005-12-05 17:19:00 +0100
commitefc90bbb5f64353714175bb4b2225422f3de86b2 (patch)
treebf92d7ea84f30edd5c968853deae92532d987d07 /debian/initramfs-tools.postinst
parentbfd7efb29d7e706d6378ad2b91d2be9d21f8b8ee (diff)
downloadinitramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.tar.gz
initramfs-tools-efc90bbb5f64353714175bb4b2225422f3de86b2.zip
resync with latest ubuntu, split udev done by hand.
Diffstat (limited to 'debian/initramfs-tools.postinst')
-rw-r--r--debian/initramfs-tools.postinst5
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/initramfs-tools.postinst b/debian/initramfs-tools.postinst
index 7d4eff6..c6025e5 100644
--- a/debian/initramfs-tools.postinst
+++ b/debian/initramfs-tools.postinst
@@ -39,5 +39,10 @@ if [ ! -e /etc/mkinitramfs/modules ]; then
cp /usr/share/doc/initramfs-tools/examples/modules /etc/mkinitramfs/
fi
+# Regenerate initramfs on upgrade
+if [ "$1" = "configure" -a -n "$2" ]; then
+ update-initramfs -u
+fi
+
#DEBHELPER#