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/scripts/remove

26 lines
753 B
Text
Raw Normal View History

2023-08-04 22:12:34 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
source /usr/share/yunohost/helpers
2024-01-10 22:44:12 +01:00
#=================================================
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2023-08-04 22:12:34 +02:00
ynh_remove_nginx_config
2023-08-29 05:53:09 +02:00
ynh_secure_remove --file="/etc/cron.daily/$app"
2023-08-04 22:12:34 +02:00
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression --message="Removal of $app completed" --last