summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/live-boot-initramfs-tools.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/live-boot-initramfs-tools.postinst b/debian/live-boot-initramfs-tools.postinst
index 2bae8ae..d11c8d9 100644
--- a/debian/live-boot-initramfs-tools.postinst
+++ b/debian/live-boot-initramfs-tools.postinst
@@ -4,7 +4,7 @@ set -e
case "${1}" in
configure)
- if [ -x /usr/sbin/update-initramfs ]
+ if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]
then
update-initramfs -u
fi