2021-08-12 13:28:44 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# IMPORT GENERIC HELPERS
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
source _common.sh
|
|
|
|
source /usr/share/yunohost/helpers
|
|
|
|
|
|
|
|
#=================================================
|
2024-02-29 11:12:03 +01:00
|
|
|
# REMOVE SYSTEM CONFIGURATIONS
|
2021-08-12 13:28:44 +02:00
|
|
|
#=================================================
|
2024-02-29 11:12:03 +01:00
|
|
|
ynh_script_progression --message="Removing system configurations related to $app..." --weight=1
|
2021-08-12 13:28:44 +02:00
|
|
|
|
|
|
|
# Remove the dedicated NGINX config
|
|
|
|
ynh_remove_nginx_config
|
|
|
|
|
|
|
|
# Remove the dedicated PHP-FPM config
|
|
|
|
ynh_remove_fpm_config
|
|
|
|
|
|
|
|
#=================================================
|
2024-02-29 11:12:03 +01:00
|
|
|
# REMOVE DEPENDENCIES
|
2021-08-12 13:28:44 +02:00
|
|
|
#=================================================
|
2024-02-29 11:12:03 +01:00
|
|
|
ynh_script_progression --message="Removing NodeJS..." --weight=1
|
2021-08-12 13:28:44 +02:00
|
|
|
|
2024-02-29 11:12:03 +01:00
|
|
|
# Remove NodeJS
|
|
|
|
ynh_remove_nodejs
|
2021-08-12 13:28:44 +02:00
|
|
|
|
|
|
|
#=================================================
|
|
|
|
# END OF SCRIPT
|
|
|
|
#=================================================
|
|
|
|
|
|
|
|
ynh_script_progression --message="Removal of $app completed" --last
|