aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2023-07-03 18:19:51 +0800
committerXi Ruoyao <xry111@xry111.site>2023-07-03 18:19:51 +0800
commitc273fc81ecdf4bd7f9e3960eaffc03cbf55c6794 (patch)
treec160aac672f60202be4b761b6c4a49c775611cc1
parent9c88d3e6ccfaf898f2ea4d76918fef97c100b7bc (diff)
currency: Remove two unneeded special cases
-rw-r--r--lfs-latest-git.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index de8f89563..140ac6492 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -261,9 +261,6 @@ if ( $package == "zstd" ) $dirpath = github("facebook/zstd");
if ( $package == "e2fsprogs" )
return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]+\d).*$/" );
- if ( $package == "eudev" )
- return find_max( $lines, "/Release/", "/^.*Release (\d[\d\.]+\d).*$/" );
-
if ( $package == "expect" )
return find_max( $lines, "/expect/", "/^.*expect(\d[\d\.]+\d).tar.*$/" );
@@ -314,9 +311,6 @@ if ( $package == "zstd" ) $dirpath = github("facebook/zstd");
if ( $package == "vim" )
return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" );
- if ( $package == "zstd" )
- return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" );
-
if ( preg_match( "/api.github.com/", $dirpath) )
return ltrim(json_decode(join("", $lines))->tag_name, "v");