Author: bdubbs Date: Fri Nov 9 10:32:16 2018 New Revision: 20688 Log: Fix currency for node.js and don't ignore firefox any more
Modified: trunk/scripts/blfs-chapter09.php trunk/scripts/summ-blfs.php Modified: trunk/scripts/blfs-chapter09.php ============================================================================== --- trunk/scripts/blfs-chapter09.php Thu Nov 8 11:27:47 2018 (r20687) +++ trunk/scripts/blfs-chapter09.php Fri Nov 9 10:32:16 2018 (r20688) @@ -107,7 +107,7 @@ array( 'pkg' => 'node-v', 'match' => '^.*$', - 'replace' => "https://nodejs.org/dist" ), + 'replace' => "https://nodejs.org/en" ), array( 'pkg' => 'wv', 'match' => '^.*$', @@ -366,7 +366,7 @@ return find_max( $lines, '/v\d/', '/^.*v(\d\.[\d\.]+).*$/' ); if ( $book_index == "node-v" ) // node.js - return find_max( $lines, '/v\d\./', '/^.*v(\d[\d\.]+)\/.*$/' ); + return find_max( $lines, '/LTS/', '/^.* (\d[\d\.]+) LTS.*$/' ); if ( $book_index == "libusb-compat" ) return find_max( $lines, '/^.*compat-\d/', '/^.*compat-([\d\.]+) .*$/' ); Modified: trunk/scripts/summ-blfs.php ============================================================================== --- trunk/scripts/summ-blfs.php Thu Nov 8 11:27:47 2018 (r20687) +++ trunk/scripts/summ-blfs.php Fri Nov 9 10:32:16 2018 (r20688) @@ -83,11 +83,12 @@ $pkg == "juffed" || $pkg == "js38" || $pkg == "js52" || - $pkg == "firefox" || $pkg == "x264" || $pkg == "polkit" ) continue; + //$pkg == "firefox" || + if ( $c[3] == "0" ) $c[3] .= " "; $x = substr("chapter $c[0]: $c[1] ", 0, 32); $x .= substr("$c[2] ", 0, 25); -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page