summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Chatzimichos <tampakrap@gentoo.org>2012-08-05 15:59:43 +0200
committerTheo Chatzimichos <tampakrap@gentoo.org>2012-08-05 15:59:43 +0200
commitafd07644b2fdc8d4d3ac55f2718846870f36ec4e (patch)
tree42a73d697431ebf108a11f5eeb2fbbb09be72aac /scripts
parentMove the logs to /var/log/planet.gentoo.org/{planet,universe} (diff)
downloadplanet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.tar.gz
planet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.tar.bz2
planet-afd07644b2fdc8d4d3ac55f2718846870f36ec4e.zip
Also update the log dir for the cleanup log command
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/update-venus2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-venus b/scripts/update-venus
index 352d3a9..7b01cfc 100755
--- a/scripts/update-venus
+++ b/scripts/update-venus
@@ -37,7 +37,7 @@ for instance in planet universe; do
done
# Delete old logs
-find ${BASE_DIR}/logs -type f -mtime +30 -delete
+find ${LOG_DIR} -type f -mtime +30 -delete
# Check for year directory, if not there create both needed
[[ -d ${BASE_DIR}/htdocs/archives/$(date +%G) ]] || \