chiark / gitweb /
vtwm (5.4.7-3) unstable; urgency=medium
[vtwm.git] / debian / postinst
1 #!/bin/sh
2 # Debian vtwm package post-installation script
3 # Copyright 1999 Branden Robinson.
4 # Licensed under the GNU General Public License, version 2.  See the file
5 # /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
6
7 # $Id: postinst 47 2005-11-05 22:22:55Z branden $
8
9 set -e
10
11 trap "echo ;\
12       echo 'Received signal.  Aborting configuration of vtwm package.' ;\
13       echo ;\
14       exit 1" 1 2 3 15
15
16 #DEBHELPER#
17
18 update-alternatives --install /usr/bin/x-window-manager x-window-manager \
19   /usr/bin/vtwm 50 --slave /usr/share/man/man1/x-window-manager.1.gz \
20   x-window-manager.1.gz /usr/share/man/man1/vtwm.1x.gz
21
22 exit 0
23
24 # vim:set ai et sts=4 sw=4 tw=80: