From f8c50097389996230dbdc6bf2ffdfe6e4786f98d Mon Sep 17 00:00:00 2001 From: "ljf (zamentur)" Date: Wed, 29 Nov 2023 21:33:54 +0100 Subject: [PATCH] [fix] Do nothing on perm change on chatonsinfos --- hooks/post_app_addaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hooks/post_app_addaccess b/hooks/post_app_addaccess index 9b5a189..662067d 100644 --- a/hooks/post_app_addaccess +++ b/hooks/post_app_addaccess @@ -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_added=$4