tazpkg rev 874
modules/get: restore virtual packages support (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 28 11:38:28 2015 +0100 (2015-11-28) |
parents | 14a35df0e01a |
children | e2e188861988 |
files | modules/get |
line diff
1.1 --- a/modules/get Sat Nov 28 11:35:12 2015 +0100 1.2 +++ b/modules/get Sat Nov 28 11:38:28 2015 +0100 1.3 @@ -290,7 +290,7 @@ 1.4 if echo $i | fgrep -q : ; then 1.5 # format 'alternative:newname' 1.6 # if alternative is installed then substitute newname 1.7 - if [ -f $2/installed/${i%:*}/receipt ]; then 1.8 + if [ -f $INSTALLED/${i%:*}/receipt ]; then 1.9 # substitute package dependency 1.10 echo ${i#*:} 1.11 return