This file is indexed.

postinst is in sleuthkit 3.2.3-2.2.

This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.

The actual contents of the file can be viewed below.

 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



exit 0