File: postinst

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 (24 lines) | stat: -rw-r--r-- 446 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
23
24
#!/bin/sh -e

case "$1"
  in
    configure)
      update-alternatives --quiet --install \
        /usr/bin/ht \
	ht \
	/usr/bin/ht-ht 60

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

#DEBHELPER#