File: postinst

package info (click to toggle)
aewm%2B%2B 1.1.2-5.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, stretch
  • size: 216 kB
  • sloc: cpp: 3,016; makefile: 80; sh: 35
file content (33 lines) | stat: -rw-r--r-- 722 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#! /bin/sh
# postinst script for aewm++

set -e

case "$1" in
    configure)
        if [ -x `which update-alternatives` ]; then
            update-alternatives \
              --install /usr/bin/x-window-manager x-window-manager \
                        /usr/bin/aewm++ 60 \
              --slave /usr/share/man/man1/x-window-manager.1.gz \
                      x-window-manager.1.gz /usr/share/man/man1/aewm++.1x.gz
        fi
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)

    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0