WPrefs: new Docks pannel, to change auto-expand/collapse/etc delays
[wmaker-crm.git] / debian / wmaker.postinst
blobd215fc0a7db643f1987ff5a7c5c771126ce49049
1 #!/bin/sh
2 set -e
4 # Window Maker postinst.
5 #
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/man1/x-window-manager.1.gz
12 case "$1" in
13 configure)
14 update-alternatives --install /usr/bin/x-window-manager \
15 x-window-manager /usr/bin/wmaker 50 \
16 --slave /usr/share/man/man1/x-window-manager.1.gz \
17 x-window-manager.1.gz /usr/share/man/man1/wmaker.1x.gz
19 if [ -x /usr/bin/update-menus -a -x /usr/bin/install-menu ] ; then
20 update-menus
24 abort-upgrade|abort-deconfigure|abort-remove)
25 # how did we got here? Force a non-zero exit code
26 exit 1
30 echo "postinst called with unkown argument: \$1" >&2
32 esac
34 #DEBHELPER#
36 exit 0