summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2009-09-25 19:48:48 +0200
committermaximilian attems <maks@debian.org>2009-09-25 19:49:51 +0200
commit02cb277c7eb1e40d926b95aef3419ee5c929f0f6 (patch)
treeafe6b20804b0785a2f3a7375a45c69b07187553e /kernel
parentc1fa297a9342bcf4750c4b6f1000e5cd364049f8 (diff)
downloadinitramfs-tools-02cb277c7eb1e40d926b95aef3419ee5c929f0f6.tar.gz
initramfs-tools-02cb277c7eb1e40d926b95aef3419ee5c929f0f6.zip
/etc/kernel/postrm.d/i-t: use now takeover on delete
makes the script idempotent (closes: #547365) Reported-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'kernel')
-rwxr-xr-xkernel/postrm.d/initramfs-tools2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/postrm.d/initramfs-tools b/kernel/postrm.d/initramfs-tools
index 88c6d07..359a226 100755
--- a/kernel/postrm.d/initramfs-tools
+++ b/kernel/postrm.d/initramfs-tools
@@ -24,4 +24,4 @@ if [ -n "$DEB_MAINT_PARAMS" ]; then
fi
# delete initramfs
-update-initramfs -d -k "${version}" ${bootopt}
+update-initramfs -d -t -k "${version}" ${bootopt}