Author: bdubbs Date: Sun Oct 16 13:59:14 2016 New Revision: 17889 Log: Update scripts for chromium
Modified: trunk/scripts/blfs-chapter43.php trunk/scripts/blfs-include.php Modified: trunk/scripts/blfs-chapter43.php ============================================================================== --- trunk/scripts/blfs-chapter43.php Sat Oct 15 13:13:31 2016 (r17888) +++ trunk/scripts/blfs-chapter43.php Sun Oct 16 13:59:14 2016 (r17889) @@ -10,14 +10,16 @@ $renames = array(); $ignores = array(); -$ignores[ 'xorg-server' ] = ''; +$ignores[ 'xorg-server' ] = ''; +$ignores[ 'chromium-launcher' ] = ''; $libreoffice = array(); -//$current="rox-filer"; +//$current="chromium"; $regex = array(); $regex[ 'inkscape' ] = "/^.*Latest.*(\d[\d\.]+\d).*$/"; +$regex[ 'chromium' ] = "/^.*updated to (\d[\d\.]+\d).*$/"; $regex[ 'gnucash' ] = "/^.*Download gnucash-(\d[\d\.]+\d).tar.*$/"; $regex[ 'pidgen' ] = "/^.*Download pidgin-(\d[\d\.]+\d).*$/"; $regex[ 'fontforge-dist'] = "/^.*fontforge-dist-(20\d+).tar.*$/"; @@ -28,6 +30,10 @@ $url_fix = array ( + array( 'pkg' => 'chromium', + 'match' => '^.*$', + 'replace' => "https://googlechromereleases.blogspot.com/" ), + array( 'pkg' => 'gnucash', 'match' => '^.*$', 'replace' => "http://sourceforge.net/projects/gnucash/files" ), @@ -265,7 +271,7 @@ { $match = array( //array( 'pkg' => 'gimp-help', - // 'regex' => "/^.*gimp-help-(\d[\d\.]+).*$/" ), + // 'regex' => "/^.*gimp-help-(\d[\d\.]+).*$/" ), ); foreach( $match as $m ) Modified: trunk/scripts/blfs-include.php ============================================================================== --- trunk/scripts/blfs-include.php Sat Oct 15 13:13:31 2016 (r17888) +++ trunk/scripts/blfs-include.php Sun Oct 16 13:59:14 2016 (r17889) @@ -182,6 +182,10 @@ if ( preg_match( "/tripwire/", $line ) ) $basename = 'tripwire'; + // Custom for Chapter 43 + if ( preg_match( "/chromium-launcher/", $line ) ) + $basename = 'chromium-launcher'; + // Custom for Chapter 55 if ( $version == "install-tl-unx" ) { -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page