File: postinst

package info (click to toggle)
sleuthkit 2.06-3etch1
  • links: PTS
  • area: main
  • in suites: etch
  • size: 7,128 kB
  • ctags: 5,133
  • sloc: ansic: 41,406; sh: 14,123; perl: 4,745; cpp: 4,297; makefile: 925; python: 29
file content (17 lines) | stat: -rw-r--r-- 597 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh

set -e

if [ "$1" = configure ]; then
	update-alternatives \
		--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 \
		--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 \
		--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
fi

exit 0