aboutsummaryrefslogtreecommitdiffstats
path: root/lfs-latest-git.php
diff options
context:
space:
mode:
authorBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-04 13:29:55 -0600
committerBruce Dubbs <bdubbs@linuxfromscratch.org>2022-02-04 13:29:55 -0600
commit1f8c0b947ef4cbba2afcf77f903a808faae9a992 (patch)
tree6789cf3393d539bbce8c175a73ece28a8c52589d /lfs-latest-git.php
parentbca4876ac555fd2d93e9e962831120e53e3e1081 (diff)
Fix currency for tcl
Diffstat (limited to 'lfs-latest-git.php')
-rw-r--r--lfs-latest-git.php5
1 files changed, 3 insertions, 2 deletions
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).*$/" );