1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/cryptpad_ynh.git synced 2024-09-03 18:26:14 +02:00

Update install

This commit is contained in:
DDATAA 2022-10-27 10:46:17 +00:00 committed by GitHub
parent 325c7d3434
commit eab0203fe2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -182,10 +182,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
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
ynh_write_var_in_file --file=/etc/ssowat/conf.json --key=uris --value=$sandboxdomain/ --after=$sandboxdomain
fi
#=================================================