Status: Accepted
begin
true ;
case_4347793 := arg 1 ;
(test [ case_4347793; '='; 'remove' ] ||
if test [ case_4347793; '='; 'purge' ]
then begin
echo [ 'Purging startup links...' ] ;
rm [ '-f'; '/etc/init.d/squid3' ] ;
echo [ 'Purging logfiles...' ] ;
rm [ '-rf'; '/var/log/squid3' ] ;
if [ [ '-f'; '/etc/squid3/squid.conf'; ']' ]
then begin
echo [ 'Removing the config-file ..' ] ;
rm [ '-f'; '/etc/squid3/squid.conf' ]
end
fi ;
echo [ 'Please, remove /var/spool/squid3 yourself.' ]
end
else (test [ case_4347793; '='; 'failed-upgrade' ] ||
((((test [ case_4347793; '='; 'upgrade' ] ||
test [ case_4347793; '='; 'abort-install' ]) ||
test [ case_4347793; '='; 'abort-upgrade' ]) ||
test [ case_4347793; '='; 'disappear' ]) ||
true))
fi) ;
dpkg-maintscript-helper [ 'rm_conffile'; '/etc/squid3/msntauth.conf';
'3.5.4-1\~'; 'squid3'; '--'; 'DUM'; 'MY' ] ;
dpkg-maintscript-helper [ 'mv_conffile'; '/etc/squid3/squid.conf';
'/etc/squid/squid.conf'; '3.5.4-1\~'; 'squid3';
'--'; 'DUM'; 'MY' ] ;
dpkg-maintscript-helper [ 'mv_conffile'; '/etc/squid3/errorpage.css';
'/etc/squid/errorpage.css'; '3.5.4-1\~'; 'squid3';
'--'; 'DUM'; 'MY' ] ;
exit success
end
#! /bin/sh
set -e
case "$1" in
remove)
;;
purge)
echo "Purging startup links..."
rm -f /etc/init.d/squid3
echo "Purging logfiles..."
rm -rf /var/log/squid3
if [ -f /etc/squid3/squid.conf ]; then
echo "Removing the config-file .."
rm -f /etc/squid3/squid.conf
fi
#
# 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 "Please, remove /var/spool/squid3 yourself."
;;
failed-upgrade)
;;
upgrade|abort-install|abort-upgrade|disappear)
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installdeb/12.1.1
dpkg-maintscript-helper rm_conffile /etc/squid3/msntauth.conf 3.5.4-1\~ squid3 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/squid3/squid.conf /etc/squid/squid.conf 3.5.4-1\~ squid3 -- "$@"
dpkg-maintscript-helper mv_conffile /etc/squid3/errorpage.css /etc/squid/errorpage.css 3.5.4-1\~ squid3 -- "$@"
# End automatically added section
exit 0