# HG changeset patch # User Christopher Rogers # Date 1305012040 0 # Node ID 3780ddec249775f5233dc7ecb304936b6f5cf7e6 # Parent 1dc5d972d44b8c49f6fd2237bbde4a8fc25130bf Fixed $PACKAGES_REPOSITORY/blocked list to only added new broken packages. diff -r 1dc5d972d44b -r 3780ddec2497 tazwok --- a/tazwok Mon May 09 16:01:27 2011 +0000 +++ b/tazwok Tue May 10 07:20:40 2011 +0000 @@ -1531,7 +1531,9 @@ cp -f $tmp/db /tmp/remain-depends.txt 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 for blocked in $(cut -f 1 $tmp/db); do - echo "$blocked" >> $PACKAGES_REPOSITORY/blocked + if [ ! $(grep -l "^$blocked$" $PACKAGES_REPOSITORY/blocked) ]; then + echo "$blocked" >> $PACKAGES_REPOSITORY/blocked + fi done break fi