File: prerm

package info (click to toggle)
ht 0.5.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 3,388 kB
  • ctags: 9,064
  • sloc: cpp: 51,336; ansic: 11,954; sh: 2,742; yacc: 1,142; lex: 396; makefile: 178
file content (22 lines) | stat: -rw-r--r-- 391 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh -e

case "$1"
  in
    remove|deconfigure)
      update-alternatives --quiet --remove \
        ht \
        /usr/bin/ht-ht

      update-alternatives --quiet --remove \
        ht.1.gz \
        /usr/share/man/man1/ht-ht.1.gz
      ;;
    upgrade|failed-upgrade)
      ;;
    *)
      echo "prerm called with unknown argument \"$1\"" >&2
      exit 1
      ;;
  esac

#DEBHELPER#