- fix cron script
This commit is contained in:
parent
9eef10cfe7
commit
3b20174980
@ -1,7 +1,7 @@
|
||||
Summary: A log file analysis program
|
||||
Name: logwatch
|
||||
Version: 7.3.6
|
||||
Release: 44%{?dist}
|
||||
Release: 45%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
URL: http://www.logwatch.org/
|
||||
@ -175,7 +175,7 @@ cat > %{buildroot}/%{_sysconfdir}/cron.daily/0logwatch <<EOF
|
||||
|
||||
DailyReport=`grep -e "^[[:space:]]*DailyReport[[:space:]]*=[[:space:]]*" /usr/share/logwatch/default.conf/logwatch.conf | head -n1 | sed -e "s|^\s*DailyReport\s*=\s*||"`
|
||||
|
||||
if [ $DailyReport != "No" ] && [ $DailyReport != "no" ]
|
||||
if [ \$DailyReport != "No" ] && [ \$DailyReport != "no" ]
|
||||
then
|
||||
logwatch
|
||||
fi
|
||||
@ -236,6 +236,9 @@ rm -rf %{buildroot}
|
||||
%doc License project/CHANGES
|
||||
|
||||
%changelog
|
||||
* Thu Jul 2 2009 Ivana Varekova <varekova@redhat.com> 7.3.6-45
|
||||
- fix cron script
|
||||
|
||||
* Thu Jun 25 2009 Ivana Varekova <varekova@redhat.com> 7.3.6-44
|
||||
- add the possibility to switch of cron job (#493063)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user