1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/abantecart_ynh.git synced 2024-09-03 18:06:16 +02:00

Update remove

This commit is contained in:
polytan02 2017-02-24 17:04:01 +00:00 committed by GitHub
parent f7cd4e025b
commit 910e16daab

View file

@ -4,13 +4,17 @@ app=$YNH_APP_INSTANCE_NAME
set -u
# Source app helpers
source /usr/share/yunohost/helpers
source .fonctions
domain=$(ynh_app_setting_get $app domain)
ynh_mysql_drop_db $app
sudo rm -rf /var/www/$app
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
# Remove installed files
SECURE_REMOVE '/var/www/${app}'
REMOVE_NGINX_CONF
REMOVE_FPM_CONF
# Remove app dependencies
if ynh_package_is_installed "abantecart-deps"; then