File: postrm

package info (click to toggle)
fml 4.0.3.dfsg-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,528 kB
  • ctags: 5
  • sloc: perl: 711; sh: 95; makefile: 88
file content (26 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (4)
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
#!/bin/sh -e

case "$1" in
 remove)
	echo "You should check aliases and crontab yourself" >&2
	;;
 purge)
	echo -n "Purge in /usr/share/fml,/var/spool/ml,/etc/fml OK? [Yn]"
	read yn
	case "$yn" in
	 N*|n*) 
		;;
	 *)
		echo -n "removing all in /usr/share/fml,/var/spool/ml,/etc/fml..."
		rm -rf /usr/share/fml /var/spool/ml /etc/fml
		echo done.
		;;
	esac
	;;

 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
	# ???
	;;
esac
#DEBHELPER#
exit 0