diff --git a/scripts/install b/scripts/install index f0721c9..5b707d3 100644 --- a/scripts/install +++ b/scripts/install @@ -181,9 +181,9 @@ fi # We don't test that in CI if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then - ynh_permission_url --permission="main" --add_url=$sandboxdomain --auth_header=true - # there is a but in core that add a slash at the end of domain in ssowat conf for uris var - #ynh_write_var_in_file --file="/etc/sso/conf.json" --key=KEY --value=$sandboxdomain + ynh_permission_url --permission="main" --add_url=${sandboxdomain%/} --auth_header=true + # there is a bug in core that add a slash at the end of domain in ssowat conf for uris var + # so we use ${sandboxdomain%/} to remove the eccessive trailing slash fi #=================================================