4 # Window Maker postinst.
6 # Marcelo Magallon <mmagallo@debian.org>
7 # Rodolfo "kix" GarcĂa <kix@kix.es>
9 x_wm_link
=/etc
/alternatives
/x-window-manager
10 x_wm_man_link
=/usr
/share
/man
/man
1/x-window-manager
.1.gz
14 update-alternatives
--install /usr
/bin
/x-window-manager \
15 x-window-manager
/usr
/bin
/wmaker
50 \
16 --slave /usr
/share
/man
/man
1/x-window-manager
.1.gz \
17 x-window-manager
.1.gz
/usr
/share
/man
/man
1/wmaker
.1x.gz
19 if [ -x /usr
/bin
/update-menus
-a -x /usr
/bin
/install-menu
] ; then
24 abort-upgrade|abort-deconfigure|abort-remove
)
25 # how did we got here? Force a non-zero exit code
30 echo "postinst called with unkown argument: \$1" >&2