File: libtool.prerm

package info (click to toggle)
libtool 1.5.6-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 10,444 kB
  • ctags: 896
  • sloc: sh: 10,215; ansic: 4,323; makefile: 804; cpp: 91; fortran: 19
file content (28 lines) | stat: -rw-r--r-- 353 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
#!/bin/sh

set -e

autotools_dev()
{
	# Remove the links to the config.{guess,sub} scripts we created
	# in postinst.
	cd /usr/share/libtool && rm -f config.guess config.sub
}

case "$1" in
remove|upgrade|deconfigure)
	autotools_dev
	;;

failed-upgrade)
	;;

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

#DEBHELPER#

exit 0