ntp: remove var/chroot/ntpd dir if removing the pkg, bumprev.
This commit is contained in:
parent
a45436b0ef
commit
7558413556
|
@ -3,8 +3,6 @@
|
|||
#
|
||||
|
||||
case "${ACTION}" in
|
||||
pre)
|
||||
;;
|
||||
post)
|
||||
# Fix ntpd initialization with -i (chrooted).
|
||||
if [ ! -d var/chroot/ntpd/var/db ]; then
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# This script removes dirs for chroot initialization.
|
||||
#
|
||||
|
||||
case "${ACTION}" in
|
||||
post)
|
||||
if [ ! -d var/chroot/ntpd ]; then
|
||||
rm -rf var/chroot/ntpd
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'ntp'
|
||||
pkgname=ntp
|
||||
version=4.2.6p2
|
||||
revision=1
|
||||
revision=2
|
||||
distfiles="http://archive.ntp.org/ntp4/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--enable-linuxcaps --with-crypto=openssl
|
||||
|
|
Loading…
Reference in New Issue