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

Update upgrade

This commit is contained in:
DDATAA 2022-10-31 17:38:14 +01:00 committed by GitHub
parent d5fac73b5e
commit e6a8306885
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -181,7 +181,7 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then
# we use jq to correct /etc/ssowat/conf.json # we use jq to correct /etc/ssowat/conf.json
uri1=$domain uri1=$domain
uri2=$sandboxdomain uri2=$sandboxdomain
app=$app app="CryptPad"
#we delete the uris from cryptpad.main #we delete the uris from cryptpad.main
cat /etc/ssowat/conf.json | jq 'del(.permissions[] | select(.label=="$app") | .uris)' cat /etc/ssowat/conf.json | jq 'del(.permissions[] | select(.label=="$app") | .uris)'