Debian Codegraph @

debian/miwm.postinst

raw
1 #!/bin/sh
2 # miwm.postinst
3
4 PATH=/usr/bin:$PATH
5
6 set -e
7
8 GENERICBIN=/usr/bin/x-window-manager
9 ETCALT=x-window-manager
10 BIN=/usr/bin/miwm
11 PRIORITY=20
12
13 Warn ()
14 {
15 echo "$@" >&2
16 }
17
18 Alternatives ()
19 {
20 update-alternatives --install $GENERICBIN $ETCALT $BIN $PRIORITY
21 }
22
23 Debhelper ()
24 {
25 :
26 # Automatically generated
27 #DEBHELPER#
28 }
29
30 Main ()
31 {
32 if [ "$1" = "configure" ] ; then
33 Alternatives
34 Debhelper
35 fi
36 }
37
38 Main "$@"
39
40 # End of file