From c9e64c957317ebf0cf76cca8427d9138e6266163 Mon Sep 17 00:00:00 2001 From: Gofannon Date: Thu, 28 Jun 2018 00:22:02 +0200 Subject: [PATCH] [enh] Cleaning --- scripts/backup | 2 -- scripts/remove | 2 -- scripts/upgrade | 8 -------- 3 files changed, 12 deletions(-) diff --git a/scripts/backup b/scripts/backup index 95f8839..942bf2c 100755 --- a/scripts/backup +++ b/scripts/backup @@ -36,8 +36,6 @@ domain=$(ynh_app_setting_get $app domain) # BACKUP THE APP MAIN DIR #================================================= -# TODO taken from old "backup" script -#ynh_backup "$final_path" "sources" 1 ynh_backup "$final_path" #================================================= diff --git a/scripts/remove b/scripts/remove index e66c7f8..f453065 100755 --- a/scripts/remove +++ b/scripts/remove @@ -47,8 +47,6 @@ ynh_remove_fpm_config # SPECIFIC REMOVE #================================================= -# Remove the log files -ynh_secure_remove "/var/log/$app/" #================================================= # GENERIC FINALIZATION diff --git a/scripts/upgrade b/scripts/upgrade index 79a593a..952d3be 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -218,16 +218,8 @@ then ynh_app_setting_set $app unprotected_uris "/" fi -# TODO: Still needed ?? -#if [ "$is_public" = "Yes" ]; -#then -# sudo sed -i "s@#--PRIVATE--@@g" /etc/nginx/conf.d/$domain.d/$app.conf -#fi - #================================================= # RELOAD NGINX #================================================= systemctl reload nginx -# TODO -#sudo yunohost app ssowatconf