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 2023-02-10 09:55:57 +00:00 committed by GitHub
parent 8e0206cc7c
commit 6f4d8abb48
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,11 +192,6 @@ fi
# We don't test that in CI # We don't test that in CI
if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then 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
# 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 fi
#================================================= #=================================================
@ -231,6 +226,8 @@ ynh_script_progression --message="Sending a readme for the admin..." --weight=1
message="CryptPad was successfully installed :) 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. 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 Then you can please open your $app domain: https://$domain$path_url