1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/framaforms_ynh.git synced 2024-09-03 18:36:12 +02:00
framaforms_ynh/scripts/remove

33 lines
926 B
Text
Raw Permalink Normal View History

#!/bin/bash
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
2020-03-29 05:02:23 +02:00
source /usr/share/yunohost/helpers
#=================================================
2024-03-16 13:58:59 +01:00
# REMOVE SYSTEM CONFIGURATIONS
#=================================================
2024-03-16 13:58:59 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2021-05-15 19:19:38 +02:00
# Remove the dedicated NGINX config
ynh_remove_nginx_config
2021-05-15 19:19:38 +02:00
# Remove the dedicated PHP-FPM config
2020-03-31 17:18:55 +02:00
ynh_remove_fpm_config
2022-07-29 01:12:30 +02:00
#=================================================
# REMOVE VARIOUS FILES
2020-08-16 12:13:44 +02:00
#=================================================
# Remove a cron file
ynh_secure_remove --file="/etc/cron.d/$app"
2019-06-14 18:57:58 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2019-06-19 18:03:19 +02:00
ynh_script_progression --message="Removal of $app completed" --last