#!/bin/sh
set -e
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper rm_conffile /etc/systemd/system/tor.service.d/20_anon_ws_disable_stacked_tor.conf -- "$@"
dpkg-maintscript-helper rm_conffile /etc/rinetd.conf.anondist -- "$@"
dpkg-maintscript-helper rm_conffile /etc/init.d/tor.anondist -- "$@"
dpkg-maintscript-helper rm_conffile /etc/X11/Xsession.d/20torbrowser -- "$@"
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
	systemctl --system daemon-reload >/dev/null || true
fi
# End automatically added section
# Automatically added by dh_installsystemd/13.24.2
if [ "$1" = "purge" ]; then
	if [ -x "/usr/bin/deb-systemd-helper" ]; then
		deb-systemd-helper purge 'anon-ws-disable-stacked-tor.service' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_127.0.0.1_9050.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_127.0.0.1_9051.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_127.0.0.1_9150.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_127.0.0.1_9151.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_::1_9050.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_::1_9051.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_::1_9150.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_anon-ws-disable-stacked-tor_::1_9151.sock.socket' 'anon-ws-disable-stacked-tor_autogen__run_tor_control.socket' 'anon-ws-disable-stacked-tor_autogen__run_tor_socks.socket' 'anon-ws-disable-stacked-tor_autogen_port6_9050.socket' 'anon-ws-disable-stacked-tor_autogen_port6_9051.socket' 'anon-ws-disable-stacked-tor_autogen_port6_9102.socket' 'anon-ws-disable-stacked-tor_autogen_port6_9150.socket' 'anon-ws-disable-stacked-tor_autogen_port6_9151.socket' 'anon-ws-disable-stacked-tor_autogen_port_9050.socket' 'anon-ws-disable-stacked-tor_autogen_port_9051.socket' 'anon-ws-disable-stacked-tor_autogen_port_9102.socket' 'anon-ws-disable-stacked-tor_autogen_port_9150.socket' 'anon-ws-disable-stacked-tor_autogen_port_9151.socket' >/dev/null || true
	fi
fi
# End automatically added section
