File: nhc98.prerm

package info (click to toggle)
nhc98 1.16-15
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 62,544 kB
  • ctags: 103,012
  • sloc: ansic: 831,077; haskell: 60,111; java: 4,116; makefile: 3,045; sh: 2,183; cpp: 212
file content (21 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#! /bin/sh
# postinst script for nhc98-doc
#
# see: dh_installdeb(1)

case "$1" in
    remove|upgrade|deconfigure|failed-upgrade)
        update-alternatives --remove haskell-compiler /usr/bin/nhc98
        haskell-utils --remove-compiler /usr/bin/nhc98
        haskell-utils --remove-compiler nhc98
    ;;
    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 0
    ;;
esac

#DEBHELPER#

exit 0