Changeset c5eaf41 for lfs-latest.php
- Timestamp:
- 08/13/2018 03:40:37 PM (6 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lfs-latest.php
r3b03219 rc5eaf41 12 12 13 13 $regex = array(); 14 $regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/";14 //$regex[ 'bzip2' ] = "/^.*current version is ([\d\.]+).*$/"; 15 15 $regex[ 'check' ] = "/^.*Check (\d[\d\.]+\d).*$/"; 16 16 $regex[ 'intltool' ] = "/^.*Latest version is (\d[\d\.]+\d).*$/"; … … 190 190 } 191 191 192 if ( $package == "bzip2" )193 {194 // Remove one directory195 $dirpath = rtrim ( $dirpath, "/" ); // Trim any trailing slash196 $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 //} 199 199 200 200 $lines = http_get_file( $dirpath );
Note:
See TracChangeset
for help on using the changeset viewer.