avahi: do not remove user/groups if updating, bumprev.

--HG--
extra : convert_revision : f463492c757b3f32d0ddc99b6cdb1bec95eb6853
This commit is contained in:
Juan RP 2009-12-09 16:16:07 +01:00
parent c9b0f09a19
commit e912759c27
2 changed files with 7 additions and 4 deletions

View file

@ -3,10 +3,12 @@
#
case "${ACTION}" in
pre)
userdel avahi &>/dev/null
[ $? -eq 0 ] && echo "Removed avahi system user/group."
userdel netdev &>/dev/null
[ $? -eq 0 ] && echo "Removed netdev system user/group."
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)
;;

View file

@ -1,6 +1,7 @@
# Template file for 'avahi'
pkgname=avahi
version=0.6.25
revision=1
distfiles="http://www.avahi.org/download/avahi-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-qt3 --disable-qt4 --disable-mono --disable-monodoc