blob: 29437f4d82206f35b33410aa3f87d5463be541e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# postrm script for rharchive
set -e
if [ "$1" = "purge" ] ; then
update-rc.d rharchive remove >/dev/null || exit $?
if [ -x "$(command -v deluser)" -a -x "$(command -v delgroup)" ]; then
deluser --quiet --system rharchive || true
delgroup --quiet --system rharchive || true
else
echo "Not removing rharchive user and group: adduser package not found." >&2
fi
fi
|