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"