ntp: do not remove user/group if updating, bumprev.
--HG-- extra : convert_revision : d00de5f24a0f01859971004f13c32aba3db2e9dc
This commit is contained in:
parent
90b3ae2174
commit
bb69ac6768
2 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue