chrony: fix previous.

This commit is contained in:
Juan RP 2012-08-21 20:16:08 +02:00
parent c711705fa8
commit 50e841f786

View file

@ -1,7 +1,7 @@
# Template file for 'chrony'
pkgname=chrony
version=1.26
revision=9
revision=10
build_style=gnu-configure
makedepends="libcap-devel readline-devel"
short_desc="Sets your computer's clock from time servers on the Net"
@ -32,8 +32,10 @@ make_dirs="
post_install() {
vinstall ${FILESDIR}/chrony.conf 644 etc
vinstall ${FILESDIR}/chrony.service 644 usr/lib/systemd/system
vinstall ${FILESDIR}/chrony.service 644 \
usr/lib/systemd/ntp-units.d 50-chrony.list
vinstall ${FILESDIR}/chrony.logrotate 644 etc/logrotate.d chrony
rm -rf ${DESTDIR}/usr/share/doc
# for systemd-timedated.
vmkdir usr/lib/systemd/ntp-units.d
echo "chrony.service" > ${DESTDIR}/usr/lib/systemd/ntp-units.d/50-chrony.list
}