mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Merge pull request #160 from YunoHost/fix-install-args
add key=value args if not present in install_app script
This commit is contained in:
commit
99e670fbb4
1 changed files with 3 additions and 0 deletions
|
@ -130,6 +130,9 @@ _INSTALL_APP () {
|
||||||
&& continue
|
&& continue
|
||||||
|
|
||||||
install_args=$(echo $install_args | sed "s@\&$key=[^&]*\&@\&$key=$value\&@")
|
install_args=$(echo $install_args | sed "s@\&$key=[^&]*\&@\&$key=$value\&@")
|
||||||
|
if ! echo $install_args | grep -q $key; then
|
||||||
|
install_args+="$key=$value&"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
# Note : we do this at this stage and not during the parsing of check_process
|
# Note : we do this at this stage and not during the parsing of check_process
|
||||||
|
|
Loading…
Add table
Reference in a new issue