File: prerm.timeout

package info (click to toggle)
tct 1.07-9
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,828 kB
  • ctags: 1,128
  • sloc: perl: 9,604; ansic: 4,861; makefile: 516; sh: 77
file content (14 lines) | stat: -rw-r--r-- 233 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -e

case "$1" in
	remove|upgrade|remove-in-favour|deconfigure-in-favour)
		[ -L /usr/doc/timeout ] && rm -f /usr/doc/timeout
		[ -f /usr/bin/timeout  ] && rm -f /usr/bin/timeout
		;;
	failed-upgrade)
		;;
esac

exit 0