File: postinst

package info (click to toggle)
libape 1.0.0-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 1,572 kB
  • ctags: 1,343
  • sloc: sh: 7,342; cpp: 3,418; makefile: 117
file content (24 lines) | stat: -rw-r--r-- 453 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

case "$1" in
	configure)
		# continue below
		;;
	abort-upgrade|abort-remove|abort-deconfigure)
		exit 0;
		;;
	*)
		echo "postinst called with unknown argument \`$1'" >&2
		exit 0
		;;
esac
# Automatically added by dh_installdocs
if [ "$1" = "configure" ]; then
	if [ -d /usr/doc -a ! -e /usr/doc/libape1 -a -d /usr/share/doc/libape1 ]; then
		ln -sf ../share/doc/libape1 /usr/doc/libape1
	fi
fi
# End automatically added section

ldconfig