Fix typo in script.

This commit is contained in:
Marcela Mašláňová 2007-08-27 06:36:22 +00:00
parent 5278c7a768
commit 824ec9e353
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Summary: Root crontab files used to schedule the execution of programs
Name: crontabs
Version: 1.10
Release: 15%{?dist}
Release: 16%{?dist}
License: Public Domain and GPLv2
Group: System Environment/Base
Source0: crontab
@ -50,6 +50,9 @@ rm -rf $RPM_BUILD_ROOT
%config(noreplace) /etc/sysconfig/crontab
%changelog
* Mon Aug 27 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-16
- 254220 typo in script run-parts
* Tue Aug 21 2007 Marcela Maslanova <mmaslano@redhat.com> 1.10-15
- corrected license tag in spec
- add config file to crontab - delay of cron.{daily,...} could be

View File

@ -2,7 +2,7 @@
# if cron.daily was run today
AUX1=`cat /var/spool/anacron/cron.daily`
AUX2=`date +%Y%m%d`
[ $AUX1 == $AUX2 ] || exit 0
[ "$AUX1" == $AUX2 ] || exit 0
# run-parts - concept taken from Debian