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:
parent
f7cd4e025b
commit
910e16daab
1 changed files with 6 additions and 2 deletions
|
@ -4,13 +4,17 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
set -u
|
set -u
|
||||||
# Source app helpers
|
# Source app helpers
|
||||||
source /usr/share/yunohost/helpers
|
source /usr/share/yunohost/helpers
|
||||||
|
source .fonctions
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get $app domain)
|
domain=$(ynh_app_setting_get $app domain)
|
||||||
|
|
||||||
ynh_mysql_drop_db $app
|
ynh_mysql_drop_db $app
|
||||||
|
|
||||||
sudo rm -rf /var/www/$app
|
# Remove installed files
|
||||||
sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf
|
SECURE_REMOVE '/var/www/${app}'
|
||||||
|
REMOVE_NGINX_CONF
|
||||||
|
REMOVE_FPM_CONF
|
||||||
|
|
||||||
|
|
||||||
# Remove app dependencies
|
# Remove app dependencies
|
||||||
if ynh_package_is_installed "abantecart-deps"; then
|
if ynh_package_is_installed "abantecart-deps"; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue