Skip to content

Commit

Permalink
changed regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Emohr-Tuxedo committed Feb 4, 2025
1 parent 93dd4a8 commit b7ec5de
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/tuxedo-tomte
Original file line number Diff line number Diff line change
Expand Up @@ -1214,8 +1214,7 @@ sub checkRequirements {
$presetModules{noecwakeupfix}{required} = 'yes';
printLog("detected $presetModules{noecwakupfix}{name} issue", 'L1', '[INFO]');
}
if ((($ubuntuCodename eq 'jammy') ||
($ubuntuCodename eq 'noble')) &&
if (($ubuntuCodename =~ /(jammy|noble)/) &&
(($boardname =~ /4X4-8000 Series/sm) ||
($boardname =~ /4X4-7000 Series\/D5/sm) ||
($boardname =~ /4X4-5000 Series/sm))) {
Expand Down

0 comments on commit b7ec5de

Please sign in to comment.