Changeset c5eaf41


Ignore:
Timestamp:
08/13/2018 03:40:37 PM (6 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
e938334
Parents:
3b03219
Message:

Fix for new bzip2 location

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@11448 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest.php

    r3b03219 rc5eaf41  
    1212
    1313$regex = array();
    14 $regex[ 'bzip2'    ] = "/^.*current version is ([\d\.]+).*$/";
     14//$regex[ 'bzip2'    ] = "/^.*current version is ([\d\.]+).*$/";
    1515$regex[ 'check'    ] = "/^.*Check (\d[\d\.]+\d).*$/";
    1616$regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/";
     
    190190     }
    191191
    192      if ( $package == "bzip2" )
    193      {
    194         // Remove one directory
    195         $dirpath  = rtrim  ( $dirpath, "/" );    // Trim any trailing slash
    196         $position = strrpos( $dirpath, "/" );
    197         $dirpath  = substr ( $dirpath, 0, $position );
    198      }
     192     //if ( $package == "bzip2" )
     193     //{
     194     //   // Remove one directory
     195     //   $dirpath  = rtrim  ( $dirpath, "/" );    // Trim any trailing slash
     196     //   $position = strrpos( $dirpath, "/" );
     197     //   $dirpath  = substr ( $dirpath, 0, $position );
     198     //}
    199199
    200200     $lines = http_get_file( $dirpath );
Note: See TracChangeset for help on using the changeset viewer.