File: prerm

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 (27 lines) | stat: -rw-r--r-- 507 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
#! /bin/sh
# prerm script for aewm++

set -e

case "$1" in
    remove|upgrade|deconfigure)
        if [ -x `which update-alternatives` ]; then
             update-alternatives --remove x-window-manager \
             /usr/bin/aewm++
        fi
        ;;
    failed-upgrade)
        ;;
    *)
        echo "prerm 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