From 90b3ae2174102523ea5c20c90e52035bbff543e1 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Dec 2009 16:16:50 +0100 Subject: [PATCH] hal: do not remove user/group if updating, bumprev. --HG-- extra : convert_revision : d100ac26066257186faac89b2009547576566026 --- srcpkgs/hal/REMOVE | 6 ++++-- srcpkgs/hal/template | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/hal/REMOVE b/srcpkgs/hal/REMOVE index 166b89e602..7df93c1891 100644 --- a/srcpkgs/hal/REMOVE +++ b/srcpkgs/hal/REMOVE @@ -3,8 +3,10 @@ # case "${ACTION}" in pre) - userdel hal &>/dev/null - [ $? -eq 0 ] && echo "Removed ${PKGNAME} system user/group." + if [ "$UPDATE" = "no" ]; then + userdel hal &>/dev/null + [ $? -eq 0 ] && echo "Removed hal system user/group." + fi ;; post) ;; diff --git a/srcpkgs/hal/template b/srcpkgs/hal/template index c138bfbb90..fee3901e62 100644 --- a/srcpkgs/hal/template +++ b/srcpkgs/hal/template @@ -1,7 +1,7 @@ # Template file for 'hal' pkgname=hal version=0.5.13 -revision=2 +revision=3 distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2" build_style=gnu_configure configure_args="--enable-static=no --disable-console-kit