hal: do not remove user/group if updating, bumprev.

--HG--
extra : convert_revision : d100ac26066257186faac89b2009547576566026
This commit is contained in:
Juan RP 2009-12-09 16:16:50 +01:00
parent 9cac065765
commit 90b3ae2174
2 changed files with 5 additions and 3 deletions

View file

@ -3,8 +3,10 @@
# #
case "${ACTION}" in case "${ACTION}" in
pre) pre)
if [ "$UPDATE" = "no" ]; then
userdel hal &>/dev/null userdel hal &>/dev/null
[ $? -eq 0 ] && echo "Removed ${PKGNAME} system user/group." [ $? -eq 0 ] && echo "Removed hal system user/group."
fi
;; ;;
post) post)
;; ;;

View file

@ -1,7 +1,7 @@
# Template file for 'hal' # Template file for 'hal'
pkgname=hal pkgname=hal
version=0.5.13 version=0.5.13
revision=2 revision=3
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2" distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-static=no --disable-console-kit configure_args="--enable-static=no --disable-console-kit