[packages/ntp] fix /etc/cron.hourly/ntpdate[5]: is_yes: not found

glen glen at pld-linux.org
Fri Dec 21 11:12:42 CET 2012


commit 7d2f2be2e0a7e2c17e53cfe15d2f2a929550d2ca
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Dec 21 12:12:23 2012 +0200

    fix /etc/cron.hourly/ntpdate[5]: is_yes: not found

 ntp.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/ntp.spec b/ntp.spec
index f1ab040..1dcd7e2 100644
--- a/ntp.spec
+++ b/ntp.spec
@@ -11,7 +11,7 @@ Summary(pl.UTF-8):	Narzędzia do synchronizacji czasu (Network Time Protocol)
 Summary(pt_BR.UTF-8):	Network Time Protocol versão 4
 Name:		ntp
 Version:	4.2.6p5
-Release:	6
+Release:	7
 License:	distributable
 Group:		Networking/Daemons
 Source0:	http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/%{name}-%{version}.tar.gz
@@ -318,6 +318,9 @@ touch $RPM_BUILD_ROOT/var/lib/ntp/drift
 
 cat > $RPM_BUILD_ROOT/etc/cron.hourly/ntpdate <<'EOF'
 #!/bin/sh
+# Source function library.
+. /etc/rc.d/init.d/functions
+
 # Source ntpdate configuration
 . /etc/sysconfig/ntpdate
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ntp.git/commitdiff/7d2f2be2e0a7e2c17e53cfe15d2f2a929550d2ca



More information about the pld-cvs-commit mailing list