From 8b6d8f20ca70f6ae9b230ebdd98860f6a2e649b1 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Mon, 27 Sep 2021 15:12:14 +0200 Subject: [PATCH] prevent script upgrade loose the backups --- scripts/upgrade | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index f066255..45bfa05 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,13 +101,11 @@ then if [ -d "$backup_squelettes" ] then cp -ar $backup_squelettes $final_path/www/squelettes - ynh_secure_remove $backup_squelettes fi if [ -e "$backup_bdd" ] then cp -a $backup_bdd $final_path/association.sqlite - ynh_secure_remove $backup_bdd fi chown -R $app:$app $final_path