]> git.pld-linux.org Git - packages/ntp.git/commitdiff
fix /etc/cron.hourly/ntpdate[5]: is_yes: not found auto/th/ntp-4.2.6p5-7
authorElan Ruusamäe <glen@delfi.ee>
Fri, 21 Dec 2012 10:12:23 +0000 (12:12 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Fri, 21 Dec 2012 10:12:23 +0000 (12:12 +0200)
ntp.spec

index f1ab040f8a8728026fe3242e98f52af2431f2a8b..1dcd7e214ba6e58b33481a254a9450212c83f1bf 100644 (file)
--- 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
 
This page took 0.270372 seconds and 4 git commands to generate.