Signed-off-by: Fiona Ebner <f.eb...@proxmox.com>
---

The stable-8 branch needs a 'make tidy' first for this to apply
cleanly.

 PVE/CLI/pve8to9.pm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/PVE/CLI/pve8to9.pm b/PVE/CLI/pve8to9.pm
index 4d61cd83..fe3964d1 100644
--- a/PVE/CLI/pve8to9.pm
+++ b/PVE/CLI/pve8to9.pm
@@ -1465,7 +1465,8 @@ sub check_apt_repos {
                     $found_pve_test_repo = 1;
                     # just safe one, mismatched suite check will handle 
multiple different ones already
                     $found_pve_test_repo_suite = $suite;
-                    $found_legacy_spelled_pve_test_repo = 1 if $component eq 
'pvetest';
+                    $found_legacy_spelled_pve_test_repo = { where => $where }
+                        if $component eq 'pvetest';
                 }
             }
 
@@ -1530,9 +1531,11 @@ sub check_apt_repos {
         );
         if ($found_legacy_spelled_pve_test_repo) {
             my $_log = $found_pve_test_repo_suite eq $new_suite ? \&log_fail : 
\&log_warn;
+            my $where = $found_legacy_spelled_pve_test_repo->{where};
             $_log->(
-                "Found legacy spelling 'pvetest' of the pve-test repo. Change 
the repo to use"
-                    . " 'pve-test' when updating the repos to the '$new_suite' 
suite for Proxmox VE 9!"
+                "Found legacy spelling 'pvetest' of the pve-test repo $where. 
Change the repo to"
+                    ." use 'pve-test' when updating the repos to the 
'$new_suite' suite for Proxmox"
+                    ." VE 9!"
             );
         } elsif ($found_pve_test_repo_suite eq $new_suite) {
             log_pass(
-- 
2.47.2



_______________________________________________
pve-devel mailing list
pve-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to