diff options
| author | Daniel Baumann <daniel@debian.org> | 2012-06-25 22:47:08 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2012-06-25 22:47:08 +0200 |
| commit | 8ca53e45f9fd00809683d4d801c23c23057a68f3 (patch) | |
| tree | 9042c77a82f9c50355782864ac0275af110c7a39 | |
| parent | c6daa277dd235ea62fa6988f4b30bae666916fc7 (diff) | |
| download | live-boot-8ca53e45f9fd00809683d4d801c23c23057a68f3.tar.gz live-boot-8ca53e45f9fd00809683d4d801c23c23057a68f3.zip | |
Making live-boot-initramfs-tools.postinst more error safe.
| -rw-r--r-- | debian/live-boot-initramfs-tools.postinst | 2 |
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 |
