spk diff spk-add @ rev 69
Update to use new colorize
author | Christian Mesh <meshca@clarkson.edu> |
---|---|
date | Sat May 19 03:51:05 2012 -0500 (2012-05-19) |
parents | d1790128faac |
children | a946ed77f727 |
line diff
1.1 --- a/spk-add Fri May 18 21:24:30 2012 +0200 1.2 +++ b/spk-add Sat May 19 03:51:05 2012 -0500 1.3 @@ -153,7 +153,7 @@ 1.4 [ "$package_name" == "$name" ] && continue 2 1.5 count=$(($count +1)) 1.6 [ "$count" == "1" ] && gettext "Modified package:"; \ 1.7 - colorize " $name" 31 1.8 + colorize 31 " $name" 1.9 gettext "Overwriting file:"; echo " $file" 1.10 # If confirm is set, ask to remove. Do we want that ? 1.11 # If gawk is installed for example we will never remove Busybox 1.12 @@ -381,7 +381,7 @@ 1.13 1.14 # Show all new counted packages in verbose mode 1.15 if [ "$verbose" ]; then 1.16 - gettext "Handled packages:"; colorize " $count" 34 1.17 + gettext "Handled packages:"; colorize 34 " $count" 1.18 fi 1.19 1.20 exit 0