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

--HG--
extra : convert_revision : d00de5f24a0f01859971004f13c32aba3db2e9dc
This commit is contained in:
Juan RP 2009-12-09 16:17:06 +01:00
parent 90b3ae2174
commit bb69ac6768
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -1,6 +1,7 @@
# Template file for 'ntp' # Template file for 'ntp'
pkgname=ntp pkgname=ntp
version=4.2.4p8 version=4.2.4p8
revision=1
distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz" distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz"
build_style=gnu_configure build_style=gnu_configure
configure_args="--enable-linuxcaps --enable-getifaddrs=glibc configure_args="--enable-linuxcaps --enable-getifaddrs=glibc