Merge pull request #1457 from YunoHost/ynh_apps

helpers: fix quoting issue in new ynh_install_apps helper
This commit is contained in:
Alexandre Aubin 2022-04-27 21:21:45 +02:00 committed by GitHub
commit 209c8d9016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,7 @@ ynh_install_apps() {
then
# Retrieve the arguments of the app (part after ?)
local one_argument=$(cut -d "?" -f2- <<< "$one_app_and_its_args")
[ ! -z "$one_argument" ] && one_argument="--args \"$one_argument\""
[ ! -z "$one_argument" ] && one_argument="--args $one_argument"
# Install the app with its arguments
yunohost app install $one_app $one_argument