summaryrefslogtreecommitdiff
blob: e94875660461bd472e317a4c69cc680e81ffd9f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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