Skip to content

Commit

Permalink
Fix regex checking for updates. This might actually have caused some …
Browse files Browse the repository at this point in the history
…of the update notification failures.
  • Loading branch information
mherger committed Mar 28, 2024
1 parent db68d35 commit 6d42705
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Utils/Update.pm
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ sub checkVersionCB {
}

# if we got an update with download URL, display it in the web UI et al.
elsif ($version && $version =~ /a href="downloads.slimdevices/i) {
elsif ($version && $version =~ /a href=.*\bdownloads\./i) {
$::newVersion = $version;
}
}
Expand Down

0 comments on commit 6d42705

Please sign in to comment.