tazwok rev 517

Fixed $PACKAGES_REPOSITORY/blocked list to only added new broken packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 10 07:20:40 2011 +0000 (2011-05-10)
parents 1dc5d972d44b
children 9ea09bdcab48
files tazwok
line diff
     1.1 --- a/tazwok	Mon May 09 16:01:27 2011 +0000
     1.2 +++ b/tazwok	Tue May 10 07:20:40 2011 +0000
     1.3 @@ -1531,7 +1531,9 @@
     1.4  			cp -f $tmp/db /tmp/remain-depends.txt
     1.5  			echo "Can't go further because of dependency loop(s). The remaining packages will be commented in the cookorder and will be unbuilt in case of major updates until the problem is solved." >&2
     1.6  			for blocked in $(cut -f 1 $tmp/db); do
     1.7 -				echo "$blocked" >> $PACKAGES_REPOSITORY/blocked
     1.8 +				if [ ! $(grep -l "^$blocked$" $PACKAGES_REPOSITORY/blocked) ]; then
     1.9 +					echo "$blocked" >> $PACKAGES_REPOSITORY/blocked
    1.10 +				fi
    1.11  			done
    1.12  			break
    1.13  		fi