Author: bdubbs
Date: Mon Aug 13 08:40:37 2018
New Revision: 11448
Log:
Fix for new bzip2 location
Modified:
trunk/BOOK/lfs-latest.php
Modified: trunk/BOOK/lfs-latest.php
==============================================================================
--- trunk/BOOK/lfs-latest.php Sun Aug 12 19:58:10 2018 (r11447)
+++ trunk/BOOK/lfs-latest.php Mon Aug 13 08:40:37 2018 (r11448)
@@ -11,7 +11,7 @@
//$exceptions[ 'gmp' ] = "UPDIR=/.*(gmp-\d[\d\.-]*\d).*/:DOWNDIR=";
$regex = array();
-$regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/";
+//$regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/";
$regex[ 'check' ] = "/^.*Check (\d[\d\.]+\d).*$/";
$regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/";
$regex[ 'less' ] = "/^.*current released version is less-(\d+).*$/";
@@ -189,13 +189,13 @@
$dirpath = substr ( $dirpath, 0, $position );
}
- if ( $package == "bzip2" )
- {
- // Remove one directory
- $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash
- $position = strrpos( $dirpath, "/" );
- $dirpath = substr ( $dirpath, 0, $position );
- }
+ //if ( $package == "bzip2" )
+ //{
+ // // Remove one directory
+ // $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash
+ // $position = strrpos( $dirpath, "/" );
+ // $dirpath = substr ( $dirpath, 0, $position );
+ //}
$lines = http_get_file( $dirpath );
if ( ! is_array( $lines ) ) return -6;
--
http://lists.linuxfromscratch.org/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page