From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4701913800E for ; Sun, 5 Aug 2012 14:00:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A8B09E02C4; Sun, 5 Aug 2012 14:00:08 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 728D3E02C4 for ; Sun, 5 Aug 2012 14:00:08 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5A2D1B4021 for ; Sun, 5 Aug 2012 14:00:07 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id DF0D0E5439 for ; Sun, 5 Aug 2012 14:00:05 +0000 (UTC) From: "Theo Chatzimichos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Chatzimichos" Message-ID: <1344175183.afd07644b2fdc8d4d3ac55f2718846870f36ec4e.tampakrap@gentoo> Subject: [gentoo-commits] proj/planet-gentoo:master commit in: scripts/ X-VCS-Repository: proj/planet-gentoo X-VCS-Files: scripts/update-venus X-VCS-Directories: scripts/ X-VCS-Committer: tampakrap X-VCS-Committer-Name: Theo Chatzimichos X-VCS-Revision: afd07644b2fdc8d4d3ac55f2718846870f36ec4e X-VCS-Branch: master Date: Sun, 5 Aug 2012 14:00:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2046da2d-07c5-436a-97fb-49e4ccdc0b20 X-Archives-Hash: ccfb431eb7575426b13a7a49cb512f04 commit: afd07644b2fdc8d4d3ac55f2718846870f36ec4e Author: Theo Chatzimichos gentoo org> AuthorDate: Sun Aug 5 13:59:43 2012 +0000 Commit: Theo Chatzimichos gentoo org> CommitDate: Sun Aug 5 13:59:43 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/planet-gentoo.git;a=commit;h=afd07644 Also update the log dir for the cleanup log command --- scripts/update-venus | 2 +- 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) ]] || \