From 1f8c0b947ef4cbba2afcf77f903a808faae9a992 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Fri, 4 Feb 2022 13:29:55 -0600 Subject: Fix currency for tcl --- lfs-latest-git.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lfs-latest-git.php') diff --git a/lfs-latest-git.php b/lfs-latest-git.php index fc318e021..df0ddcccc 100644 --- a/lfs-latest-git.php +++ b/lfs-latest-git.php @@ -133,7 +133,8 @@ if ( $package == "shadow" ) $dirpath = "https://github.com/shadow-maint/shad if ( $package == "MarkupSafe" ) $dirpath = "https://pypi.python.org/pypi/MarkupSafe/"; if ( $package == "Jinja" ) $dirpath = "https://pypi.python.org/pypi/Jinja2/"; if ( $package == "systemd" ) $dirpath = "https://github.com/systemd/systemd/releases"; -if ( $package == "tcl" ) $dirpath = "https://sourceforge.net/projects/tcl/files"; +//if ( $package == "tcl" ) $dirpath = "https://sourceforge.net/projects/tcl/files"; +if ( $package == "tcl" ) $dirpath = "https://www.tcl.tk/software/tcltk/download.html"; if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/tags"; if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/releases"; @@ -264,7 +265,7 @@ if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/rel } if ( $package == "tcl" ) - return find_max( $lines, "/tcl/", "/^.*tcl(\d[\d\.]*\d)-src.*$/" ); + return find_max( $lines, "/tcl\d/", "/^.*tcl(\d\.[\d\.]*\d)-src.*$/" ); if ( $package == "ninja" ) return find_max( $lines, "/v\d/", "/^.*v(\d[\d\.]*\d).*$/" ); -- cgit v1.2.3-54-g00ecf