Changeset c5eaf41 for lfs-latest.php


Ignore:
Timestamp:
08/13/2018 03:40:37 PM (3 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, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, cross-chap5, ml-11.0, multilib, old-trunk, trunk, xry111/git-transition, xry111/glibc-2.34, xry111/tester-nohack, xry111/usr-move
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.