diff --git a/srcpkgs/ntp/REMOVE b/srcpkgs/ntp/REMOVE index 9157bf0c89c..16c626c3b70 100644 --- a/srcpkgs/ntp/REMOVE +++ b/srcpkgs/ntp/REMOVE @@ -3,8 +3,10 @@ # case "${ACTION}" in pre) - userdel ntpd 2>&1 >/dev/null - [ $? -eq 0 ] && echo "Removed ntpd system user/group." + if [ "$UPDATE" = "no" ]; then + userdel ntpd 2>&1 >/dev/null + [ $? -eq 0 ] && echo "Removed ntpd system user/group." + fi ;; post) ;; diff --git a/srcpkgs/ntp/template b/srcpkgs/ntp/template index 0fe2cfb880c..c54befe151e 100644 --- a/srcpkgs/ntp/template +++ b/srcpkgs/ntp/template @@ -1,6 +1,7 @@ # Template file for 'ntp' pkgname=ntp version=4.2.4p8 +revision=1 distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--enable-linuxcaps --enable-getifaddrs=glibc