File: e16.postinst

package info (click to toggle)
e16 1.0.0-4
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 7,884 kB
  • ctags: 6,655
  • sloc: ansic: 70,548; sh: 9,928; xml: 2,606; perl: 479; makefile: 394; sed: 16
file content (18 lines) | stat: -rw-r--r-- 380 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

set -e

wm=e16

update-alternatives  --install /usr/bin/x-window-manager x-window-manager \
    /usr/bin/$wm 90 --slave /usr/share/man/man1/x-window-manager.1.gz x-window-manager.1.gz /usr/share/man/man1/$wm.1.gz

inst=/etc/menu-methods/$wm
if [ -f $inst ]; then
    chmod a+x $inst
    if [ -x /usr/bin/update-menus ]; then
        update-menus
    fi
fi

#DEBHELPER#