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:
parent
af7c7dfca8
commit
a5b965fd0b
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue