From 14cbb88cdc8cbdeca02c9b0b0079534d7b0c924c Mon Sep 17 00:00:00 2001 From: Josh North Date: Thu, 12 May 2016 13:39:37 -0400 Subject: [PATCH] Update cleanup.sh --- cleanup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleanup.sh b/cleanup.sh index 94ec36f..53eb117 100644 --- a/cleanup.sh +++ b/cleanup.sh @@ -27,6 +27,6 @@ find /usr/share/doc | egrep "\copyright" | xargs rm -rf find /usr/share/locale -mindepth 1 -maxdepth 1 ! -name 'en' |xargs rm -rf # Delete old log files logrotate -f /etc/logrotate.conf -find /var/log -type f -regex '.*/[^/]*.gz$' -delete && find /var/log -type f -regex '.*/[^/]*.[0-9]$' -delete +#find /var/log -type f -regex '.*/[^/]*.gz$' -delete && find /var/log -type f -regex '.*/[^/]*.[0-9]$' -delete exit 0 # EOF