From 22785a0458cb59747c2228a48778aa59527b9cbe Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Sun, 17 Dec 2023 21:47:49 +0100 Subject: [PATCH] Update upgrade try keep just the config.local.php --- scripts/upgrade | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 25fb4c1..48a52bb 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -37,15 +37,6 @@ if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Upgrading source files..." --weight=5 - if [ ! -d "$data_dir/data" ]; then - ynh_print_warn "Migrating data directory to $data_dir..." - - # remove old configuration files - ynh_secure_remove --file="$install_dir/config.local.yunohost.php" - - mv "$install_dir/data" "$data_dir" - fi - # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config.local.php data/plugins" fi