Skip to content

Commit

Permalink
Fix mirror version check URL
Browse files Browse the repository at this point in the history
  • Loading branch information
bwarden committed Sep 20, 2022
1 parent e5885d0 commit 4f9c083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/clr-network-troubleshooter.in
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ sub check_mirror {
my $test_url = $version_url;

if ($test_url) {
$test_url =~ s|[^/]+/?$|latest|;
$test_url =~ s|/?$|/version/latest_version|;
}

if (! $test_url || $test_url =~ m|^https://(?:cdn\.)?download.clearlinux.org/latest|) {
Expand Down

0 comments on commit 4f9c083

Please sign in to comment.