Path : /var/lib/dpkg/info/
File Upload :
Current File : /var/lib/dpkg/info/ds-agent.postrm

#!/bin/sh
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d ds_agent remove >/dev/null || exit $?
fi
# End automatically added section
# Automatically added by dh_installinit
if [ "$1" = "purge" ] ; then
	update-rc.d ds_filter remove >/dev/null || exit $?
fi

if [ -x /bin/systemctl ]; then
	/bin/systemctl daemon-reload
fi

if [ -d "/etc/systemd/system/ds_agent.service.d" ]; then
	rm -Rf /etc/systemd/system/ds_agent.service.d
fi

# remove group tm_dsa
if [ $(/usr/bin/getent group tm_dsa) ]; then
        /usr/sbin/groupdel tm_dsa >/dev/null || true
fi

# End automatically added section