From 63f79bb6f98afa59601bd4b3b73fd395a9876b3e Mon Sep 17 00:00:00 2001 From: ljf Date: Mon, 11 Feb 2019 23:09:09 +0100 Subject: [PATCH] [fix] Getopts strange errors --- scripts/_future.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/_future.sh b/scripts/_future.sh index 453c015..30e25be 100644 --- a/scripts/_future.sh +++ b/scripts/_future.sh @@ -17,15 +17,15 @@ ynh_export () { ynh_save_args () { for var in $@; do - ynh_app_setting_set -a $app -k $var -v ${!var} + ynh_app_setting_set $app $var ${!var} done } ynh_sso_access () { - ynh_app_setting_set -a $app -k unprotected_uris -v "/" + ynh_app_setting_set $app unprotected_uris "/" if [[ $is_public -eq 0 ]]; then - ynh_app_setting_set -a $app -k protected_uris -v "$1" + ynh_app_setting_set $app protected_uris "$1" fi sudo yunohost app ssowatconf }