wireshark/debian/wireshark-common.postrm

19 lines
353 B
Bash

#!/bin/sh
set -e
GROUP=wireshark
. /usr/share/debconf/confmodule
if [ "$1" = "purge" ] ; then
if getent group $GROUP >/dev/null && command -v delgroup > /dev/null; then
if ! delgroup --quiet --system $GROUP; then
db_input high wireshark-common/group-removal-failed || true
db_go
fi
fi
fi
#DEBHELPER#