diff --git a/srcpkgs/avahi/REMOVE b/srcpkgs/avahi/REMOVE index 62abe84e29b..3f37cf73aea 100644 --- a/srcpkgs/avahi/REMOVE +++ b/srcpkgs/avahi/REMOVE @@ -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) ;; diff --git a/srcpkgs/avahi/template b/srcpkgs/avahi/template index 4ed0de962be..af78cdec3bb 100644 --- a/srcpkgs/avahi/template +++ b/srcpkgs/avahi/template @@ -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