#!/bin/sh
# postrm script for rhautoimport

set -e

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

#DEBHELPER#

exit 0