File: postrm

package info (click to toggle)
deborphan 1.0-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 484 kB
  • ctags: 178
  • sloc: ansic: 1,425; sh: 496; makefile: 70
file content (29 lines) | stat: -rw-r--r-- 566 bytes parent folder | download | duplicates (3)
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
29
#!/bin/sh

KEEP="/var/lib/deborphan/keep"
KEEPDIR="/var/lib/deborphan"

if [ "$1" = "purge" ] ; then
	if [ -f $KEEP ] ; then
		# Currently I think purge is purge. Don't annoy the admin.
		# 
		# echo "deborphan's list of wanted packages still exists.  Do you"
		# echo -n "want to remove this file?  ($KEEP) [Y/n] "
		# read answer
		# case $answer in
		# 	y|Y|Yes|YES|yes|"")
				rm -f $KEEP
				rmdir $KEEPDIR
		# 		;;
		# 	*)
		# 		echo "Not removing $KEEP."
		# 		;;
		# esac
	fi
fi

# Here debhelper should add it's stuff if any:
#DEBHELPER#


# vim: set ts=2: