Adding debian version 3.5.0-4.
[debian/openbox.git] / debian / openbox.postinst
1 #!/bin/sh
2
3 set -e
4
5 case "$1" in
6         configure)
7                 update-alternatives --install /usr/bin/x-window-manager \
8                         x-window-manager /usr/bin/openbox 90 --slave \
9                         /usr/share/man/man1/x-window-manager.1.gz \
10                         x-window-manager.1.gz /usr/share/man/man1/openbox.1.gz
11                 update-alternatives --install /usr/bin/x-session-manager \
12                         x-session-manager /usr/bin/openbox-session 40 --slave \
13                         /usr/share/man/man1/x-session-manager.1.gz \
14                         x-session-manager.1.gz /usr/share/man/man1/openbox-session.1.gz
15
16                         if [ -x /usr/bin/update-menus ]; then update-menus; fi
17                 ;;
18 esac
19
20 #DEBHELPER#