#!/bin/sh

set -e

case "$1" in
	remove|remove-in-favour|deconfigure-in-favour)
		#
		#	Stop the daemon
		#
		if status squid3 | grep "start/running" > /dev/null; then
			stop squid3
		fi
		;;
	upgrade|failed-upgrade)
		;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

#DEBHELPER#

exit 0
