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.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/initramfs-tools.postinst b/debian/initramfs-tools.postinst
index 5f46777..2f36f3f 100644
--- a/debian/initramfs-tools.postinst
+++ b/debian/initramfs-tools.postinst
@@ -7,7 +7,7 @@ if [ ! -e /etc/initramfs-tools/modules ]; then
fi
# Regenerate initramfs on upgrade
-if [ "$1" = "configure" -a -n "$2" ]; then
+if [ "$1" = "configure" ] && [ -n "$2" ]; then
update-initramfs -u
fi