Author: bdubbs Date: Mon Feb 6 21:20:08 2017 New Revision: 18263 Log: Update inscape script
Modified: trunk/scripts/blfs-chapter43.php Modified: trunk/scripts/blfs-chapter43.php ============================================================================== --- trunk/scripts/blfs-chapter43.php Mon Feb 6 16:08:05 2017 (r18262) +++ trunk/scripts/blfs-chapter43.php Mon Feb 6 21:20:08 2017 (r18263) @@ -20,7 +20,7 @@ //$current="inkscape"; $regex = array(); -//$regex[ 'inkscape' ] = "/^.*Latest.*(\d[\d\.]+\d).*$/"; +$regex[ 'inkscape' ] = "/^.*Latest stable.*(\d[\d\.]+\d).*$/"; //$regex[ 'chromium' ] = "/^.*stable.*updated to (\d[\d\.]+\d) for Windows.*$/"; $regex[ 'chromium' ] = "/^pkgver=(\d[\d\.]+\d).*$/"; $regex[ 'gnucash' ] = "/^.*Download gnucash-(\d[\d\.]+\d).tar.*$/"; @@ -80,7 +80,7 @@ array( 'pkg' => 'inkscape', 'match' => '^.*$', - 'replace' => "https://launchpad.net/inkscape" ), + 'replace' => "https://inkscape.org/en/download/source" ), array( 'pkg' => 'pidgin', 'match' => '^.*$', @@ -244,8 +244,8 @@ return 0; // This is an error } - if ( preg_match( "/inkscape/", "$dirpath" ) ) - return find_max( $lines, "/inkscape-/", "/^.*inkscape-(\d[\d\.]+\d).tar.*$/" ); + #if ( preg_match( "/inkscape/", "$dirpath" ) ) + # return find_max( $lines, "/inkscape-/", "/^.*inkscape-(\d[\d\.]+\d).tar.*$/" ); if ( preg_match( "/abiword/", "$dirpath" ) ) return find_max( $lines, "/^\d/", "/^([\d\.]+).*$/" ); -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page