Changeset c5eaf41
- Timestamp:
- 08/13/2018 03:40:37 PM (5 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, 8.3, 8.3-rc1, 8.3-rc2, 8.4, 8.4-rc1, 9.0, 9.0-rc1, 9.1, 9.1-rc1, arm, bdubbs/gcc13, cross-chap5, ml-11.0, multilib, old-trunk, s6-init, trunk, xry111/arm64, xry111/clfs-ng, xry111/git-transition, xry111/glibc-2.34, xry111/glibc-2.37, xry111/kcfg-revise, xry111/lfs-next, xry111/pip3, xry111/queue-11.3, xry111/rust-wip-20221008, xry111/tester-nohack, xry111/usr-move
- 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.