From 78419bbcfd2d44600997865e95c10d68e54e3a47 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 9 Oct 2023 23:00:06 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 56f100f..d2f483d 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -42,11 +42,11 @@ then # remove old configuration files ynh_secure_remove --file="$install_dir/data/config.local.user.php" + ynh_secure_remove --file="$install_dir/config.local.yunohost.php" + mv "$install_dir/data" "$data_dir" fi - ynh_secure_remove --file="$install_dir/config.local.yunohost.php" - # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" #--keep="config.local.php" fi