Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43e6c79
)
debian: only try to execute update-initramfs if it exists
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 20 May 2016 17:37:20 +0000
(13:37 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 20 May 2016 17:37:20 +0000
(13:37 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
debian/e2fsprogs.postinst
patch
|
blob
|
history
diff --git
a/debian/e2fsprogs.postinst
b/debian/e2fsprogs.postinst
index
1329255
..
00ac363
100644
(file)
--- a/
debian/e2fsprogs.postinst
+++ b/
debian/e2fsprogs.postinst
@@
-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#