summaryrefslogtreecommitdiff
path: root/debian/postrm
blob: f2c848e510864284f3c2afc5fedab0c0785766b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# postrm script for rhimportd

set -e

if [ "$1" = "purge" ] ; then
   if [ -x "$(command -v deluser)" -a -x "$(command -v delgroup)" ]; then
      deluser  --quiet --system rhimportd || true
      delgroup --quiet --system rhimportd || true
   else
      echo "Not removing rhimportd user and group: adduser package not found." >&2
   fi
fi

#DEBHELPER#

exit 0