aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2021-06-20 10:43:45 -0500
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2021-06-20 10:43:45 -0500
commit346ed0ca6bc830787f86cc4e587943e568932306 (patch)
tree5c5c9bdd9641053217cb53eb28620daad784101e
parent7aee3182a0bba41d352a50252872ccda2349b8b9 (diff)
Fix grub currency.
-rw-r--r--lfs-latest-git.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index fa0cecbcf..bf775bc84 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -278,7 +278,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel
return find_max( $lines, "/v\d/", "/^.*v([\d\.]+) .*$/" );
if ( $package == "grub" )
- return find_max( $lines, "/grub/", "/^.*grub-(\d\..*).tar.xz.*$/" );
+ return find_max( $lines, "/grub/", "/^.*grub-(\d\.).tar.xz.*$/" );
if ( $package == "openssl" )
return find_max( $lines, "/openssl/", "/^.*openssl-([\d\.p]*\d.?).tar.*$/" );