# HG changeset patch # User Pascal Bellard # Date 1448707108 -3600 # Node ID 94233466b80cad506760dc801a09c2fee952ce36 # Parent 14a35df0e01a2f91f71cf6096e26c76844023d9f modules/get: restore virtual packages support (again) diff -r 14a35df0e01a -r 94233466b80c modules/get --- a/modules/get Sat Nov 28 11:35:12 2015 +0100 +++ b/modules/get Sat Nov 28 11:38:28 2015 +0100 @@ -290,7 +290,7 @@ if echo $i | fgrep -q : ; then # format 'alternative:newname' # if alternative is installed then substitute newname - if [ -f $2/installed/${i%:*}/receipt ]; then + if [ -f $INSTALLED/${i%:*}/receipt ]; then # substitute package dependency echo ${i#*:} return