[lfs] branch trunk updated: In currency, redirect from tp.gnu.org to ftpmirror.gnu.org.
| Newsgroups | gmane.linux.lfs.book |
|---|---|
| Message-ID | <175736938142.12676.65044721681133870@rivendell.linuxfromscratch.org> |
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch trunk
in repository lfs.
The following commit(s) were added to refs/heads/trunk by this push:
new 298367a8c In currency, redirect from tp.gnu.org to ftpmirror.gnu.org.
298367a8c is described below
commit 298367a8c551a12db508bfe53fd4d97905778b85
Author: Bruce Dubbs <[email protected]>
AuthorDate: Mon Sep 8 17:09:32 2025 -0500
In currency, redirect from tp.gnu.org to ftpmirror.gnu.org.
---
lfs-latest-git.php | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lfs-latest-git.php b/lfs-latest-git.php
index ad6d27a30..5bcdb1652 100644
--- a/lfs-latest-git.php
+++ b/lfs-latest-git.php
@@ -64,6 +64,8 @@ function find_even_max( $lines, $regex_match, $regex_replace )
function http_get_file( $url )
{
+ $url = preg_replace( "/ftp.gnu.org/", "ftpmirror.gnu.org", $url );
+
if ( preg_match( "/mpfr/", $url ) )
{
# There seems to be a problem with the mpfs certificate
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
--
http://lists.linuxfromscratch.org/sympa/info/lfs-book
Unsubscribe: See the above information page