diff --git a/scripts/upgrade b/scripts/upgrade index 02e9dd0..192f313 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 ../patches_last_version/* ../patches + cp -a ../sources/patches_last_version/* ../patches source_id="main" else ynh_print_info "Upgrading to Nextcloud $next_major_version"