From 053f5622804fad2acaecf362b43c9e889f941f87 Mon Sep 17 00:00:00 2001 From: DDATAA <45762540+Ddataa@users.noreply.github.com> Date: Wed, 2 Nov 2022 15:57:31 +0000 Subject: [PATCH] Update install --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 00726af..c7992fa 100644 --- a/scripts/install +++ b/scripts/install @@ -194,7 +194,8 @@ if ! [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then uri2=$sandboxdomain 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 #=================================================