spk diff lib/libspk.sh @ rev 99
clean several echos in libspk
author | Christian Mesh <meshca@clarkson.edu> |
---|---|
date | Sat Jun 02 17:46:46 2012 -0500 (2012-06-02) |
parents | 0df5690de5fd |
children | f017035fd1f5 |
line diff
1.1 --- a/lib/libspk.sh Fri Jun 01 23:34:10 2012 +0100 1.2 +++ b/lib/libspk.sh Sat Jun 02 17:46:46 2012 -0500 1.3 @@ -62,7 +62,7 @@ 1.4 cat $list | while read package version desc category 1.5 do 1.6 if [ "$short" ]; then 1.7 - echo -n "$(colorize 32 "$package")"; indent 28 " $version" 1.8 + colorize 32 "$package"; indent 28 " $version" 1.9 else 1.10 newline 1.11 gettext "Package :"; colorize 32 " $package" 1.12 @@ -245,7 +245,7 @@ 1.13 check_installed() { 1.14 local name="$1" 1.15 if [ -d "$installed/$name" ]; then 1.16 - echo $(boldify "$name") $(gettext "package is already installed") 1.17 + boldify "$name"; gettext "package is already installed" 1.18 [ "$forced" ] || rm -rf $tmpdir 1.19 continue 1.20 fi 1.21 @@ -298,7 +298,7 @@ 1.22 fi 1.23 done 1.24 1.25 - gettext "Missing dependencies:"; echo " $(colorize 34 "$deps")" 1.26 + gettext "Missing dependencies:"; colorize 34 " $deps" 1.27 1.28 # Return true if missing deps 1.29 [ "$deps" != "0" ]