add key=value args if not present in install_app script

This commit is contained in:
Kayou 2024-06-24 15:32:52 +02:00 committed by GitHub
parent 77b3b4e9d5
commit 8b4c2133cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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