From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RzYkp-0003Kk-At for garchives@archives.gentoo.org; Mon, 20 Feb 2012 19:18:31 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78618E0A76; Mon, 20 Feb 2012 19:18:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 4883EE0A76 for ; Mon, 20 Feb 2012 19:18:24 +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 9D3891B400D for ; Mon, 20 Feb 2012 19:18:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 65D17E5405 for ; Mon, 20 Feb 2012 19:18:21 +0000 (UTC) From: "Maxim Koltsov" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maxim Koltsov" Message-ID: <1329764348.bd5b44ab575f6a6f2b8f0066f9345ecac8be9e5b.maksbotan@gentoo> Subject: [gentoo-commits] dev/maksbotan:master commit in: Documentation/ X-VCS-Repository: dev/maksbotan X-VCS-Files: Documentation/leech_bump.sh X-VCS-Directories: Documentation/ X-VCS-Committer: maksbotan X-VCS-Committer-Name: Maxim Koltsov X-VCS-Revision: bd5b44ab575f6a6f2b8f0066f9345ecac8be9e5b X-VCS-Branch: master Date: Mon, 20 Feb 2012 19:18:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d02012a7-5539-40a1-8f0c-115d97b6095d X-Archives-Hash: 41c6a7f794b3e0eb003fb25528e58d4d commit: bd5b44ab575f6a6f2b8f0066f9345ecac8be9e5b Author: Maxim Koltsov gentoo org> AuthorDate: Mon Feb 20 18:59:08 2012 +0000 Commit: Maxim Koltsov gentoo org> CommitDate: Mon Feb 20 18:59:08 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/maksbotan.git;= a=3Dcommit;h=3Dbd5b44ab Update LC script --- Documentation/leech_bump.sh | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/Documentation/leech_bump.sh b/Documentation/leech_bump.sh index 8e2fbd1..3ceb6f1 100755 --- a/Documentation/leech_bump.sh +++ b/Documentation/leech_bump.sh @@ -216,10 +216,17 @@ for atom in */*; do =20 ;; delete) - if [[ -z "${message}" ]]; then + if [[ "${message_stub}" =3D=3D "1" ]]; then message=3D"Removed old ${PN}-${version}" fi =20 + if ! [[ -e "${PN}-${version}.ebuild" ]]; then + ewarn "${atom} lacks ${version} version, skipping delete" + eoutdent + cd - > /dev/null + continue + fi + ebegin "Deleting ${PN}-${version}" rm ${PN}-${version}.ebuild cvs rm ${PN}-${version}.ebuild > /dev/null