Debian Codegraph @

debian/live-boot-initramfs-tools.postinst

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