From d471cfcc9673cf8559051897d7ddabeb54b417fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 21 Jun 2024 00:34:06 +0200 Subject: [PATCH] fix --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index a912855..0bf51df 100755 --- a/scripts/install +++ b/scripts/install @@ -22,7 +22,7 @@ ynh_mysql_db_shell \ ynh_script_progression "Setting up source files..." # Enable YunoHost patches on Nextcloud sources -cp -a ../sources/patches_last_version/* ../patches +cp -a ../sources/patches_last_version/* ../sources/patches # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" diff --git a/scripts/upgrade b/scripts/upgrade index 192f313..55d7086 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -151,7 +151,7 @@ then next_major_version="$(( $current_major_version + 1 ))" if [[ "$next_major_version" -ge "$last_major_version" ]]; then ynh_print_info "Upgrading to Nextcloud $last_version" - cp -a ../sources/patches_last_version/* ../patches + cp -a ../sources/patches_last_version/* ../sources/patches source_id="main" else ynh_print_info "Upgrading to Nextcloud $next_major_version"