wireshark/debian/wireshark-common.postrm

17 lines
360 B
Bash

#!/bin/sh
set -e
GROUP=wireshark
if [ "$1" = "purge" ] ; then
if getent group $GROUP >/dev/null; then
if [ -x /usr/sbin/delgroup ]; then
echo "Removing wireshark group..."
delgroup --system $GROUP || echo "Could not remove wireshark group."
fi
fi
fi
#DEBHELPER#