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 9A5DF138010 for ; Sun, 24 Mar 2013 17:52:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61074E0849; Sun, 24 Mar 2013 17:52:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F252FE0849 for ; Sun, 24 Mar 2013 17:52:19 +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 1239D33D3D3 for ; Sun, 24 Mar 2013 17:52:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 9A2D2E4073 for ; Sun, 24 Mar 2013 17:52:17 +0000 (UTC) From: "Agostino Sarubbo" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Agostino Sarubbo" Message-ID: <1364147516.224c623af141951c95ba26be56d658b85b70a24e.ago@gentoo> Subject: [gentoo-commits] dev/ago:master commit in: script/ X-VCS-Repository: dev/ago X-VCS-Files: script/kde_repoman_check.sh X-VCS-Directories: script/ X-VCS-Committer: ago X-VCS-Committer-Name: Agostino Sarubbo X-VCS-Revision: 224c623af141951c95ba26be56d658b85b70a24e X-VCS-Branch: master Date: Sun, 24 Mar 2013 17:52:17 +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: c6adfc23-f4fe-4c5d-a244-3cb8acfa4b37 X-Archives-Hash: fe1aa8134b67c43ea05829a3a88601d4 commit: 224c623af141951c95ba26be56d658b85b70a24e Author: Agostino Sarubbo gentoo org> AuthorDate: Sun Mar 24 17:51:56 2013 +0000 Commit: Agostino Sarubbo gentoo org> CommitDate: Sun Mar 24 17:51:56 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/ago.git;a=commit;h=224c623a Add script to check the kde's categories consistency --- script/kde_repoman_check.sh | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/script/kde_repoman_check.sh b/script/kde_repoman_check.sh new file mode 100755 index 0000000..e948756 --- /dev/null +++ b/script/kde_repoman_check.sh @@ -0,0 +1,19 @@ +#!/bin/bash + +MY_PORTDIR="$( portageq envvar PORTDIR )" + +for k in kde-base kde-misc +do + for i in $( ls "${MY_PORTDIR}"/"${k}"/ | grep -v "metadata\.xml" ) + do + cd "${MY_PORTDIR}"/${k}/"${i}" + result="$( repoman full > /dev/null 2>&1 )" + if [ "${?}" = "1" ] + then + echo "The package "${k}"/"${i}" has the following problem:" + repoman full + fi + done +done + +exit 0