1
0
Fork 0
mirror of https://github.com/YunoHost/yunohost.git synced 2024-09-03 20:06:10 +02:00

Fix argument

This commit is contained in:
yalh76 2022-04-20 23:40:24 +02:00
parent 3f9fd91334
commit 1af8f9969b

View file

@ -32,7 +32,7 @@ ynh_install_apps() {
then then
# Retrieve the arguments of the app (part after ?) # Retrieve the arguments of the app (part after ?)
local one_argument=$(cut -d "?" -f2- <<< "$one_app_and_its_args") 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 # Install the app with its arguments
yunohost app install $one_app $one_argument yunohost app install $one_app $one_argument