File: postinst

package info (click to toggle)
traceroute 1.4a12-21
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 564 kB
  • ctags: 420
  • sloc: sh: 3,137; ansic: 2,542; makefile: 114; awk: 37
file content (27 lines) | stat: -rw-r--r-- 494 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
25
26
27
#!/bin/sh

set -e

case "${1}" in
	configure)
		update-alternatives --install \
			/usr/bin/traceroute traceroute /usr/bin/traceroute.lbl 100 \
			--slave /usr/sbin/traceroute traceroute.sbin \
				/usr/bin/traceroute.lbl \
			--slave /usr/share/man/man8/traceroute.8.gz traceroute.8.gz \
				/usr/share/man/man8/traceroute.lbl.8.gz
		;;

	abort-upgrade|abort-remove|abort-deconfigure)

		;;

	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 1
		;;
esac

#DEBHELPER#

exit 0