File: sleuthkit.postinst

package info (click to toggle)
sleuthkit 3.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 9,624 kB
  • sloc: ansic: 104,268; sh: 9,445; cpp: 7,793; makefile: 256
file content (38 lines) | stat: -rw-r--r-- 808 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
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#!/bin/sh

set -e

case "${1}" in
	configure)
		update-alternatives --quiet \
			--install /usr/bin/icat icat \
			/usr/bin/icat-sleuthkit 120 \
			--slave /usr/share/man/man1/icat.1.gz icat.1.gz \
			/usr/share/man/man1/icat-sleuthkit.1.gz

		update-alternatives --quiet \
			--install /usr/bin/ils ils \
			/usr/bin/ils-sleuthkit 120 \
			--slave /usr/share/man/man1/ils.1.gz ils.1.gz \
			/usr/share/man/man1/ils-sleuthkit.1.gz

		update-alternatives --quiet \
			--install /usr/bin/mactime mactime \
			/usr/bin/mactime-sleuthkit 120 \
			--slave /usr/share/man/man1/mactime.1.gz mactime.1.gz \
			/usr/share/man/man1/mactime-sleuthkit.1.gz
		;;

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

		;;

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

#DEBHELPER#

exit 0