slitaz-base-files rev 192

Updated source receipt to not depend on global vars
author Christian Mesh <meshca@clarkson.edu>
date Sat Jun 02 18:05:40 2012 -0500 (2012-06-02)
parents 2ef8abb6f1a3
children d4df77afbed6
files rootfs/usr/lib/slitaz/libpkg.sh
line diff
     1.1 --- a/rootfs/usr/lib/slitaz/libpkg.sh	Fri Jun 01 22:57:58 2012 +0200
     1.2 +++ b/rootfs/usr/lib/slitaz/libpkg.sh	Sat Jun 02 18:05:40 2012 -0500
     1.3 @@ -43,8 +43,7 @@
     1.4  source_receipt() {
     1.5  		local receipt=$1
     1.6  		if [ ! -f $receipt ]; then
     1.7 -			echo -n $(colorize 31 "$pkg")
     1.8 -			indent 28 $(gettext "missing receipt")
     1.9 +			indent 28 $(gettext "Missing receipt: ") $receipt
    1.10  			continue
    1.11  		else
    1.12  			. $receipt