Changeset ede49cd for lfs-latest.php
- Timestamp:
- 02/12/2020 09:02:11 PM (4 years ago)
- Branches:
- multilib-10.1
- Children:
- 54a6bc9
- Parents:
- f8ea68b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lfs-latest.php
rf8ea68b rede49cd 105 105 global $regex; 106 106 107 //if ( $package != " vim" ) return 0; // Debug107 //if ( $package != "zstd" ) return 0; // Debug 108 108 109 109 if ( $package == "bc" ) $dirpath = "https://github.com/gavinhoward/bc/releases"; … … 128 128 if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." ); 129 129 if ( $package == "vim" ) $dirpath = "https://github.com/vim/vim/releases"; 130 if ( $package == "zstd" ) $dirpath = "https://github.com/facebook/zstd/releases"; 130 131 //if ( $package == "vim" ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix"; 131 132 … … 284 285 return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" ); 285 286 287 if ( $package == "zstd" ) 288 return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" ); 289 286 290 // Most packages are in the form $package-n.n.n 287 291 // Occasionally there are dashes (e.g. 201-1)
Note:
See TracChangeset
for help on using the changeset viewer.