Debian Codegraph @

debian/plymouth-themes.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 case "${1}" in
6 configure|abort-upgrade|abort-remove|abort-deconfigure)
7 if which update-initramfs >/dev/null 2>&1 && [ -e /etc/initramfs-tools/initramfs.conf ]; then
8 update-initramfs -u -k all
9 fi
10 ;;
11
12 *)
13 echo "postinst called with unknown argument \`${1}'" >&2
14 exit 1
15 ;;
16 esac
17
18 #DEBHELPER#
19
20 exit 0