File: prerm

package info (click to toggle)
request-tracker3.6 3.6.1-4+etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 9,028 kB
  • ctags: 1,371
  • sloc: perl: 27,270; sh: 671; makefile: 327
file content (18 lines) | stat: -rw-r--r-- 293 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

alts() {
    for bin in /usr/bin/rt-crontool /usr/sbin/rt-setup-database \
               /usr/sbin/rt-dump-database; do
        alt=`basename $bin`
        update-alternatives --remove $alt $bin-3.6
    done
}

case "$1" in
    "remove") alts
        ;;
esac

#DEBHELPER#