File: postinst

package info (click to toggle)
matchbox-window-manager 1.2-osso21-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 1,344 kB
  • ctags: 1,132
  • sloc: ansic: 14,948; sh: 3,395; xml: 778; makefile: 122
file content (16 lines) | stat: -rw-r--r-- 474 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

set -e

action="$1"

if [ "$action" = configure ]; then
    # register the alternatives of x-window-manager manually
    # because dh_installwm doesn't register manpage as slave yet.
    update-alternatives --install /usr/bin/x-window-manager \
        x-window-manager /usr/bin/matchbox-window-manager 50 \
        --slave /usr/share/man/man1/x-window-manager.1.gz \
        x-window-manager.1.gz /usr/share/man/man1/matchbox-window-manager.1.gz
fi

#DEBHELPER#