avahi: do not remove user/groups if updating, bumprev.
--HG-- extra : convert_revision : f463492c757b3f32d0ddc99b6cdb1bec95eb6853
This commit is contained in:
parent
c9b0f09a19
commit
e912759c27
|
@ -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)
|
||||
;;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue