mirror of https://github.com/vitalif/e2fsprogs
debian: only try to execute update-initramfs if it exists
Signed-off-by: Theodore Ts'o <tytso@mit.edu>debian
parent
43e6c79a73
commit
01995578ed
|
@ -3,7 +3,10 @@
|
|||
# Abort on error.
|
||||
set -e
|
||||
|
||||
update-initramfs -u
|
||||
if [ -x /usr/sbin/update-initramfs -a \
|
||||
-e /etc/initramfs-tools/initramfs.conf ]; then
|
||||
update-initramfs -u
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
|
|
Loading…
Reference in New Issue