File: postrm

package info (click to toggle)
uucp 1.06.1-9
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 4,000 kB
  • ctags: 2,994
  • sloc: ansic: 52,080; sh: 3,837; makefile: 634; perl: 199
file content (25 lines) | stat: -rw-r--r-- 427 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
25
#!/bin/sh

case "$1" in
	purge)
		# Remove the spool directories.
		rmdir /etc/uucp 2>/dev/null
		rm -rf /var/spool/uucp
		rm -rf /var/spool/uucppublic
		rm -rf /var/log/uucp
		exit 0
		;;
	remove)
		#  De-install the uucp info files.
		install-info --remove --quiet /usr/info/uucp.info
		;;
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
	*)
		echo "$0: unknown action \"$1\""
		exit 0
		;;
esac

exit 0