File: postrm

package info (click to toggle)
squid 1.1.21-1
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 2,828 kB
  • ctags: 3,705
  • sloc: ansic: 34,400; sh: 1,975; perl: 899; makefile: 559
file content (22 lines) | stat: -rw-r--r-- 562 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
#! /bin/sh

case "$1" in
	remove)
		;;
	purge)
		echo "Purging startup links .."
		rm -f /etc/init.d/squid
		update-rc.d squid remove > /dev/null
		echo "Purging logfiles .."
		rm -rf /var/log/squid
        	#
        	# We do not remove /var/spool/squid because that might
        	# take a lot of time. Most of the time it is on a seperate
        	# disk anyway and it is faster to do a mkfs on it..
        	#
        	echo "Remove the proxy cache in /var/spool/squid yourself!"
		;;
	upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
		;;
esac