Author: bdubbs Date: Wed Aug 29 08:56:01 2018 New Revision: 20426 Log: Fix currency for pnmixer
Modified: trunk/scripts/blfs-chapter47.php Modified: trunk/scripts/blfs-chapter47.php ============================================================================== --- trunk/scripts/blfs-chapter47.php Wed Aug 29 08:46:34 2018 (r20425) +++ trunk/scripts/blfs-chapter47.php Wed Aug 29 08:56:01 2018 (r20426) @@ -17,7 +17,6 @@ $regex = array(); $regex[ 'gvolwheel' ] = "/^.*Download gvolwheel-(\d[\d\.]+\d).tar.*$/"; -$regex[ 'pnmixer' ] = "/^.*pnmixer-(\d[\d\.]+\d).tar.*$/"; $regex[ 'simpleburn' ] = "/^.*SimpleBurn-(\d[\d\.]+\d).*$/"; $url_fix = array ( @@ -72,7 +71,7 @@ array( 'pkg' => 'pnmixer', 'match' => '^.*$', - 'replace' => "https://github.com/nicklan/pnmixer/downloads" ), + 'replace' => "https://github.com/nicklan/pnmixer/releases" ), array( 'pkg' => 'kwave', 'match' => '^.*$', @@ -187,6 +186,9 @@ if ( $package == "cdrtools" ) return find_max( $lines, "/cdrtools-[\d\.]+/", "/^.*cdrtools-([\d\.]+a?\d?).tar.*$/" ); + if ( $package == "pnmixer" ) + return find_max( $lines, "/pnmixer-v/", "/^.*pnmixer-v([\d\.]+).tar.*$/" ); + // Most packages are in the form $package-n.n.n // Occasionally there are dashes (e.g. 201-1) $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" ); -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page