From 6f4d8abb480faf7c0cf021dd02ea17984972ed5e Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Fri, 10 Feb 2023 09:55:57 +0000 Subject: [PATCH] Update install --- scripts/install | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/scripts/install b/scripts/install index e8baf4c..51dd891 100644 --- a/scripts/install +++ b/scripts/install @@ -192,11 +192,6 @@ 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 bug in core that add a slash at the end of domain in ssowat conf for uris var - # we use jq to correct /etc/ssowat/conf.json - #uri2=$sandboxdomain - #touch /etc/ssowat/conf.json.persistent - #cat /etc/ssowat/conf.json | jq --arg uri2 "$uri2" '(.permissions[] | select(.label=="CryptPad") | .uris[1]) |=$uri2' >> /etc/ssowat/conf.json.persistent fi #================================================= @@ -231,6 +226,8 @@ ynh_script_progression --message="Sending a readme for the admin..." --weight=1 message="CryptPad was successfully installed :) +READ CAREFULLY !! + We have added a sandbox domain : $sandboxdomain for you but you still need to configure your DNS and generate Let's Encrypt Certificates for it. Then you can please open your $app domain: https://$domain$path_url