postrm is in uanytun 0.3.6-2.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #!/bin/sh
# postrm script for uanytun
set -e
if [ "$1" = "purge" ] ; then
update-rc.d uanytun remove >/dev/null || exit $?
if [ -x "$(command -v deluser)" -a -x "$(command -v delgroup)" ]; then
deluser --quiet --system uanytun || true
delgroup --quiet --system uanytun || true
else
echo "Not removing uanytun user and group: adduser package not found." >&2
fi
fi
|