mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Fix argument
This commit is contained in:
parent
3f9fd91334
commit
1af8f9969b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue