From 844480c316d03bc863ac7b78e1c745ecc4ae5948 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 11 Mar 2024 15:40:01 +0100 Subject: [PATCH] [autopatch] TEST BEFORE MERGE ynh_setup_source --full_replace=1 --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 95be743..16d749f 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -82,7 +82,7 @@ if [ -z $(sqlite3 $install_dir/app.db "SELECT config_kepubifypath FROM settings" eval sqlite3 $install_dir/app.db "\"UPDATE settings SET config_kepubifypath='/opt/kepubify/$app/kepubify' WHERE ID=1\"" fi if [ ! -d /opt/kepubify/$app ]; then - ynh_setup_source --dest_dir="/opt/kepubify/$app" --source_id="kepubify" + ynh_setup_source --dest_dir="/opt/kepubify/$app" --source_id="kepubify" --full_replace=1 chmod 770 /opt/kepubify/$app/kepubify fi @@ -109,7 +109,7 @@ then ynh_add_config --template="../sources/patches/main-constants.py.patch.src" --destination="../sources/patches/main-constants.py.patch" # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$install_dir" + ynh_setup_source --dest_dir="$install_dir" --full_replace=1 chown -R $app: $install_dir # Remove the patch for web.py in case visitor are allowed