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-11-02 15:57:31 +00:00 committed by GitHub
parent c55d2e5a53
commit 053f562280
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -194,7 +194,8 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
uri2=$sandboxdomain uri2=$sandboxdomain
cat /etc/ssowat/conf.json | jq --arg uri2 "$uri2" '(.permissions[] | select(.label=="CryptPad") | .uris[1]) |=$uri2' > /etc/ssowat/tmp.conf.json cat /etc/ssowat/conf.json | jq --arg uri2 "$uri2" '(.permissions[] | select(.label=="CryptPad") | .uris[1]) |=$uri2' > /etc/ssowat/tmp.conf.json
rm /etc/ssowat/conf.json && mv /etc/ssowat/tmp.conf.json /etc/ssowat/conf.json ynh_secure_remove --file="/etc/ssowat/conf.json"
mv /etc/ssowat/tmp.conf.json /etc/ssowat/conf.json
fi fi
#================================================= #=================================================