Debian Codegraph @

debian/dwm.postinst

raw
1 #!/bin/sh
2
3 set -e
4
5 ALTERNATIVES="maintainer web winkey "
6
7 case "${1}" in
8 configure)
9 update-alternatives --quiet --install /usr/bin/dwm dwm /usr/bin/dwm.default 100
10
11 for ALTERNATIVE in ${ALTERNATIVES}
12 do
13 update-alternatives --quiet --install /usr/bin/dwm dwm /usr/bin/dwm.${ALTERNATIVE} 50
14 done
15 ;;
16
17 abort-upgrade|abort-remove|abort-deconfigure)
18
19 ;;
20
21 *)
22 echo "postinst called with unknown argument \`${1}'" >&2
23 exit 1
24 ;;
25 esac
26
27 #DEBHELPER#
28
29 exit 0