summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-04-03 06:21:56 +0000
committerMike Frysinger <vapier@gentoo.org>2015-04-03 06:21:56 +0000
commit45e76f1c73bea26eb3ebf602fad63e76cce9f134 (patch)
tree682bfeab80112283d36c79ba09fa3d38ab3c5684 /sys-apps/logwatch/files
parentAdd ~x86-fbsd #303295 by Johan Hattne. (diff)
downloadgentoo-2-45e76f1c73bea26eb3ebf602fad63e76cce9f134.tar.gz
gentoo-2-45e76f1c73bea26eb3ebf602fad63e76cce9f134.tar.bz2
gentoo-2-45e76f1c73bea26eb3ebf602fad63e76cce9f134.zip
Version bump #542744 by Tobias Sager. Create cache dirs via existing cronjob #520570 by Agostino Sarubbo.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)
Diffstat (limited to 'sys-apps/logwatch/files')
-rwxr-xr-xsys-apps/logwatch/files/logwatch1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys-apps/logwatch/files/logwatch b/sys-apps/logwatch/files/logwatch
index 4d4a2227b315..50ba356d3984 100755
--- a/sys-apps/logwatch/files/logwatch
+++ b/sys-apps/logwatch/files/logwatch
@@ -1,5 +1,6 @@
#!/bin/sh
if [ -x /usr/sbin/logwatch.pl ] ; then
+ mkdir -p /var/cache/logwatch
exec /usr/sbin/logwatch.pl --output mail
fi