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

10 lines
296 B
Text
Raw Normal View History

2023-08-08 10:25:41 +02:00
#!/bin/bash
2023-08-29 05:53:09 +02:00
source /etc/yunohost/apps/chatonsinfos/scripts/_common.sh
2023-08-08 10:25:41 +02:00
source /usr/share/yunohost/helpers
2023-08-29 05:53:09 +02:00
install_dir=/var/www/chatonsinfos/
2023-08-29 03:44:51 +02:00
ynh_secure_remove --file="$install_dir/public/${YNH_APP_ID}.properties"
sed -i "/^subs\.${YNH_APP_ID} =/d" "$install_dir/public/organization.properties"