
| Current Path : /var/lib/dpkg/info/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/lib/dpkg/info/coturn.postrm |
#!/bin/sh
set -e
TURNSERVER_USER=turnserver
TURNSERVER_GROUP=turnserver
if [ "$1" = "purge" ] ; then
if getent passwd $TURNSERVER_USER >/dev/null; then
userdel $TURNSERVER_USER
fi
if getent group $TURNSERVER_GROUP >/dev/null; then
groupdel $TURNSERVER_GROUP
fi
rm -f /var/lib/turn/turndb
fi
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
# Automatically added by dh_installinit/12.10ubuntu1
if [ "$1" = "purge" ] ; then
update-rc.d coturn remove >/dev/null
fi
# End automatically added section
# Automatically added by dh_installsystemd/12.10ubuntu1
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper mask 'coturn.service' >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
deb-systemd-helper purge 'coturn.service' >/dev/null || true
deb-systemd-helper unmask 'coturn.service' >/dev/null || true
fi
fi
# End automatically added section
exit 0