1
0
mirror of https://github.com/azlux/dpkg-deb synced 2024-11-23 14:56:10 +00:00
dpkg-deb/webhookd/DEBIAN/postrm

17 lines
370 B
Bash
Executable File

#!/usr/bin/env bash
case "$1" in
upgrade)
;;
purge)
rm /etc/webhookd.env
if [ -x "$(command -v deluser)" ]; then
deluser --quiet --system webhookd > /dev/null || true
else
echo >&2 "not removing webhookd system account because deluser command was not found"
fi
;;
*)
;;
esac
exit 0