Fix bad backport
This commit is contained in:
parent
9eba0c43fa
commit
adbadf2ebe
@ -49,7 +49,7 @@ Backported-By: Jan Synacek <jsynacek@redhat.com>
|
||||
my @old_dirs = grep { /^logwatch\.\w{8}$/ && -d "$Config{'tmpdir'}/$_" }
|
||||
readdir(TMPDIR);
|
||||
-if (@old_dirs) {
|
||||
+if (@old_dirs && ($NoOldfilesLog==0)) {
|
||||
+if ((@old_dirs) && ($NoOldfilesLog==0)) {
|
||||
print "You have old files in your logwatch tmpdir ($Config{'tmpdir'}):\n\t";
|
||||
print join("\n\t", @old_dirs);
|
||||
print "\nThe directories listed above were most likely created by a\n";
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
Summary: A log file analysis program
|
||||
Name: logwatch
|
||||
Version: 7.4.0
|
||||
Release: 32.20140704svn%{revision}%{?dist}
|
||||
Release: 33.20140704svn%{revision}%{?dist}
|
||||
License: MIT
|
||||
Group: Applications/System
|
||||
URL: http://www.logwatch.org/
|
||||
@ -147,6 +147,9 @@ echo "# Configuration overrides for specific logfiles/services may be placed her
|
||||
%{_mandir}/man*/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 4 2014 Jan Synáček <jsynacek@redhat.com> - 7.4.0-33.20140704svn198
|
||||
- Fix bad backport
|
||||
|
||||
* Fri Jul 4 2014 Jan Synáček <jsynacek@redhat.com> - 7.4.0-32.20140704svn198
|
||||
- Update to revision 198
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user