diff --git a/hooks/post_app_remove b/hooks/post_app_remove index a5f5ba8..dc2c86b 100644 --- a/hooks/post_app_remove +++ b/hooks/post_app_remove @@ -3,6 +3,8 @@ source /etc/yunohost/apps/chatonsinfos/scripts/_common.sh source /usr/share/yunohost/helpers +[ "${YNH_APP_ID}" == "chatonsinfos" ] && exit 0 + install_dir=/var/www/chatonsinfos/ ynh_secure_remove --file="$install_dir/public/${YNH_APP_ID}.properties"