From 060697dcd62ec2d87ffd74a6372970991b7b6a95 Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 29 Nov 2023 21:33:18 +0100 Subject: [PATCH] [fix) Do nothing on perm change with chatonsinfos --- hooks/post_app_removeaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hooks/post_app_removeaccess b/hooks/post_app_removeaccess index ec62a29..3360b8c 100644 --- a/hooks/post_app_removeaccess +++ b/hooks/post_app_removeaccess @@ -3,6 +3,9 @@ source /etc/yunohost/apps/chatonsinfos/scripts/_common.sh source /usr/share/yunohost/helpers app=$1 + +[ "${app}" == "chatonsinfos" ] && exit 0 + install_dir=/var/www/chatonsinfos/ service_path=${install_dir}public/${app}.properties local groups_removed=$4