void-packages/srcpkgs/avahi/REMOVE

16 lines
312 B
Text
Raw Normal View History

#
# This script removes the avahi and netdev user/group.
#
case "${ACTION}" in
pre)
if [ "$UPDATE" = "no" ]; then
userdel avahi &>/dev/null
[ $? -eq 0 ] && echo "Removed avahi system user/group."
userdel netdev &>/dev/null
[ $? -eq 0 ] && echo "Removed netdev system user/group."
fi
;;
post)
;;
esac