bugfix -- needed to pass '-r' to ${add_cmd} to retreive package from remote repository.

This commit is contained in:
Jake Guffey 2012-02-22 12:41:45 -05:00
parent 566bfda6d2
commit 3ebda62f04

View file

@ -107,7 +107,7 @@ if [ -n "$curr_version" ]; then # PKG *is* installed
assert "! ${version} = ${curr_version}" $LINENO
cmd="${rm_cmd} ${name}-${curr_version}"
execcmd "remove" "${cmd}"
cmd="${add_cmd} ${name}-${version}"
cmd="${add_cmd} -r ${name}-${version}"
execcmd "add" "${cmd}"
fi
else # Don't care what version to use