tazpkg diff modules/get @ rev 884

Module 'check': fix to work with $root; start to add tests
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Dec 05 16:14:14 2015 +0200 (2015-12-05)
parents 908bac5e1d8c
children 2f3f84cea56f
line diff
     1.1 --- a/modules/get	Fri Dec 04 02:42:03 2015 +0200
     1.2 +++ b/modules/get	Sat Dec 05 16:14:14 2015 +0200
     1.3 @@ -298,7 +298,7 @@
     1.4  				echo ${i#*:}
     1.5  				return
     1.6  			fi
     1.7 -		else
     1.8 +		elif ! grep -q "^$1$" "$2/packages.txt" ; then
     1.9  			# unconditional substitution
    1.10  			echo $i
    1.11  			return