1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/my_capsule_ynh.git synced 2024-09-03 19:46:21 +02:00
my_capsule_ynh/scripts/remove

39 lines
1.1 KiB
Text
Raw Normal View History

2021-07-10 17:59:22 +02:00
#!/bin/bash
#=================================================
# GENERIC START
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source _common.sh
2022-07-29 20:46:20 +02:00
source ynh_apps
2021-07-10 17:59:22 +02:00
source /usr/share/yunohost/helpers
#=================================================
2024-01-28 14:40:00 +01:00
# REMOVE SYSTEM CONFIGURATIONS
2021-07-10 17:59:22 +02:00
#=================================================
2024-01-28 14:40:00 +01:00
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
2021-07-10 17:59:22 +02:00
# Remove the dedicated NGINX config
ynh_remove_nginx_config
# Remove the dedicated PHP-FPM config
ynh_remove_fpm_config
2024-01-28 14:40:00 +01:00
_ynh_remove_gemserv_config
2022-07-30 01:12:23 +02:00
2022-07-29 20:46:20 +02:00
#=================================================
# REMOVE DEPENDENCIES
#=================================================
2023-06-14 18:12:24 +02:00
ynh_script_progression --message="Removing dependencies..."
2022-07-29 20:46:20 +02:00
# Remove metapackage and its dependencies
2024-01-28 14:40:00 +01:00
ynh_remove_apps
2022-07-29 20:46:20 +02:00
2021-07-10 17:59:22 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2021-07-14 16:10:15 +02:00
ynh_script_progression --message="Removal of $app completed"