forked from ungleich-public/cdist
bugfix -- needed to pass '-r' to ${add_cmd} to retreive package from remote repository.
This commit is contained in:
parent
566bfda6d2
commit
3ebda62f04
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ if [ -n "$curr_version" ]; then # PKG *is* installed
|
||||||
assert "! ${version} = ${curr_version}" $LINENO
|
assert "! ${version} = ${curr_version}" $LINENO
|
||||||
cmd="${rm_cmd} ${name}-${curr_version}"
|
cmd="${rm_cmd} ${name}-${curr_version}"
|
||||||
execcmd "remove" "${cmd}"
|
execcmd "remove" "${cmd}"
|
||||||
cmd="${add_cmd} ${name}-${version}"
|
cmd="${add_cmd} -r ${name}-${version}"
|
||||||
execcmd "add" "${cmd}"
|
execcmd "add" "${cmd}"
|
||||||
fi
|
fi
|
||||||
else # Don't care what version to use
|
else # Don't care what version to use
|
||||||
|
|
Loading…
Reference in a new issue