diff --git a/scripts/_future.sh b/scripts/_future.sh index 30e25be..453c015 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 $app $var ${!var} + ynh_app_setting_set -a $app -k $var -v ${!var} done } ynh_sso_access () { - ynh_app_setting_set $app unprotected_uris "/" + ynh_app_setting_set -a $app -k unprotected_uris -v "/" if [[ $is_public -eq 0 ]]; then - ynh_app_setting_set $app protected_uris "$1" + ynh_app_setting_set -a $app -k protected_uris -v "$1" fi sudo yunohost app ssowatconf }