From 110bb7d290891fde16753ab6623728fabcab7988 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Wed, 2 Nov 2022 15:58:25 +0000 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c7992fa..1b25bf4 100644 --- a/scripts/install +++ b/scripts/install @@ -192,7 +192,7 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then # so we use ${sandboxdomain%/} to remove the eccessive trailing slash # it doesnt work # we use jq to correct /etc/ssowat/conf.json uri2=$sandboxdomain - + touch /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 ynh_secure_remove --file="/etc/ssowat/conf.json" mv /etc/ssowat/tmp.conf.json /etc/ssowat/conf.json