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 5472013800E for ; Sun, 5 Aug 2012 12:06:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0227BE02DF; Sun, 5 Aug 2012 12:06:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id BFD0EE02DF for ; Sun, 5 Aug 2012 12:06:36 +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 0656E1B401C for ; Sun, 5 Aug 2012 12:06:36 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 94EB7E5439 for ; Sun, 5 Aug 2012 12:06:34 +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: <1344168363.567f9cd6ee929d3005ad2d51384f0a58a50f8826.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: 567f9cd6ee929d3005ad2d51384f0a58a50f8826 X-VCS-Branch: master Date: Sun, 5 Aug 2012 12:06:34 +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: 91beae7f-9143-4891-bca5-b1046fe3d962 X-Archives-Hash: a50fae40fc76b803a1c8ef3fd5abc51d commit: 567f9cd6ee929d3005ad2d51384f0a58a50f8826 Author: Theo Chatzimichos gentoo org> AuthorDate: Sun Aug 5 12:06:03 2012 +0000 Commit: Theo Chatzimichos gentoo org> CommitDate: Sun Aug 5 12:06:03 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/planet-gentoo.git;a=commit;h=567f9cd6 Small fix in for loop Also stop ignoring errors --- scripts/update-venus | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/scripts/update-venus b/scripts/update-venus index 9aadb9d..fc78835 100755 --- a/scripts/update-venus +++ b/scripts/update-venus @@ -24,12 +24,13 @@ BANNED_USERS=( ln -s ${BASE_DIR}/planet-gentoo/archives/universe/index.php ${BASE_DIR}/htdocs/universe/archives/index.php # Get latest Git changes -cd ${BASE_DIR}/planet-gentoo; git pull --force >/dev/null 2>&1 +cd ${BASE_DIR}/planet-gentoo; git pull --force >/dev/null for instance in planet universe; do # Remove configs of banned users for banned_user in ${BANNED_USERS[@]}; do rm -f ${REPO}/configs/${instance}/${banned_user} + done # Generate the combined ini file from the split config files cat ${REPO}/configs/base/venus.${instance} ${REPO}/configs/${instance}/* > ${BASE_DIR}/generated_configs/venus.${instance}.ini # Run venus