projects
/
live-boot-grml.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Improving test for /etc/fstab.d support by testing for its existence instead of ...
[live-boot-grml.git]
/
debian
/
live-boot-initramfs-tools.postrm
1
#!/bin/sh
2
3
set -e
4
5
case "${1}" in
6
remove)
7
if [ -x /usr/sbin/update-initramfs ] && [ -e /etc/initramfs-tools/initramfs.conf ]
8
then
9
update-initramfs -u
10
fi
11
;;
12
13
purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
14
15
;;
16
17
*)
18
echo "postrm called with unknown argument \`${1}'" >&2
19
exit 1
20
;;
21
esac
22
23
#DEBHELPER#
24
25
exit 0