summaryrefslogtreecommitdiff
path: root/debian/initramfs-tools.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/initramfs-tools.postinst')
-rw-r--r--debian/initramfs-tools.postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/initramfs-tools.postinst b/debian/initramfs-tools.postinst
index fe734cf..6e61803 100644
--- a/debian/initramfs-tools.postinst
+++ b/debian/initramfs-tools.postinst
@@ -15,6 +15,7 @@ if [ "$1" = configure ]; then
if [ -e /etc/mkinitrd/modules ]; then
cp /etc/mkinitrd/modules /etc/mkinitramfs
+ sed -i -e 's/mkinitrd/mkinitramfs/g' /etc/mkinitramfs/modules
fi
if [ -e ${RESUME} ]; then