void-packages/srcpkgs/dbus/REMOVE
Juan RP 9cac065765 dbus: do not remove user/group if updating, bumprev.
--HG--
extra : convert_revision : d56d6ef7a5e719877584f30bce20d03f46603d12
2009-12-09 16:16:33 +01:00

13 lines
214 B
Text

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