Changeset ede49cd for lfs-latest.php


Ignore:
Timestamp:
02/12/2020 09:02:11 PM (4 years ago)
Author:
Thomas Trepl <thomas@…>
Branches:
multilib-10.1
Children:
54a6bc9
Parents:
f8ea68b
Message:

MultiLib: Merge changes from trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/multilib@11747 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lfs-latest.php

    rf8ea68b rede49cd  
    105105  global $regex;
    106106
    107 //if ( $package != "vim" ) return 0; // Debug
     107//if ( $package != "zstd" ) return 0; // Debug
    108108
    109109if ( $package == "bc"         ) $dirpath = "https://github.com/gavinhoward/bc/releases";
     
    128128if ( $package == "util-linux" ) $dirpath = max_parent( $dirpath, "v." );
    129129if ( $package == "vim"        ) $dirpath = "https://github.com/vim/vim/releases";
     130if ( $package == "zstd"       ) $dirpath = "https://github.com/facebook/zstd/releases";
    130131//if ( $package == "vim"        ) $dirpath = "ftp://ftp.vim.org/pub/vim/unix";
    131132
     
    284285     return find_max( $lines, "/v\d\./", "/^.*v([\d\.]+).*$/" );
    285286
     287  if ( $package == "zstd" )
     288     return find_max( $lines, "/Zstandard v/", "/^.*v([\d\.]+).*$/" );
     289
    286290  // Most packages are in the form $package-n.n.n
    287291  // Occasionally there are dashes (e.g. 201-1)
Note: See TracChangeset for help on using the changeset viewer.