From 50e841f786447a26c3a98f97d33b946b06f64511 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 21 Aug 2012 20:16:08 +0200 Subject: [PATCH] chrony: fix previous. --- srcpkgs/chrony/template | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/srcpkgs/chrony/template b/srcpkgs/chrony/template index 6c2a65aeaf..c20aa971b5 100644 --- a/srcpkgs/chrony/template +++ b/srcpkgs/chrony/template @@ -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 }