1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/chatonsinfos_ynh.git synced 2024-09-03 18:15:58 +02:00

[fix] Do nothing in hook if we remove chatonsinfos

This commit is contained in:
ljf (zamentur) 2023-11-29 21:32:15 +01:00 committed by GitHub
parent af7c7dfca8
commit a5b965fd0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"