Remove old install way

This commit is contained in:
yalh76
2019-02-21 18:34:49 +01:00
parent 230d9c0c2f
commit 316ff75933
10 changed files with 67 additions and 99 deletions

View File

@@ -62,13 +62,6 @@ ynh_remove_app_dependencies
ynh_use_nodejs
ynh_remove_nodejs
#=================================================
# REMOVE YARN 1.13.0
#=================================================
ynh_print_info "Removing yarn 1.13.0..."
sudo apt remove -y yarn
#=================================================
# REMOVE APP MAIN DIR
#=================================================
@@ -99,7 +92,7 @@ ynh_print_info "Removing php-fpm configuration"
ynh_print_info "Removing logrotate configuration"
# Remove the app-specific logrotate config
ynh_remove_logrotate
#ynh_remove_logrotate
#=================================================
# CLOSE A PORT
@@ -124,7 +117,7 @@ fi
ynh_secure_remove "/etc/$app/"
# Remove the log files
ynh_secure_remove "/var/log/$app/"
#ynh_secure_remove "/var/log/$app/"
#=================================================
# GENERIC FINALIZATION