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
|