modules/get: restore virtual packages support (again)
author |
Pascal Bellard <pascal.bellard@slitaz.org> |
date |
Fri Dec 04 13:19:16 2015 +0100 (2015-12-04) |
parents |
48af4b236d99 |
children |
70ac720dba11 |
files |
modules/get |
line diff
1.1 --- a/modules/get Fri Dec 04 05:07:12 2015 +0200
1.2 +++ b/modules/get Fri Dec 04 13:19:16 2015 +0100
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