cookutils rev 151
cook: let unblock blocked packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 12:54:05 2011 +0200 (2011-05-12) |
parents | 38f102c5c70b |
children | 6fdcd4661662 |
files | cook |
line diff
1.1 --- a/cook Thu May 12 11:51:21 2011 +0200 1.2 +++ b/cook Thu May 12 12:54:05 2011 +0200 1.3 @@ -778,7 +778,7 @@ 1.4 tee -a $LOGS/$pkg.log' INT 1.5 1.6 # Skip blocked, 3 lines also for the Cooker. 1.7 - if grep -q "^$pkg$" $blocked && [ "$2" != "--*" ]; then 1.8 + if grep -q "^$pkg$" $blocked && [ "$2" != "--unblock" ]; then 1.9 gettext -e "Blocked package:"; echo -e " $pkg\n" && exit 0 1.10 fi 1.11