Author: bdubbs
Date: Thu Sep 6 09:21:08 2018
New Revision: 20463
Log:
Display firefox currncy
Modified:
trunk/scripts/blfs-chapter43.php
Modified: trunk/scripts/blfs-chapter43.php
==============================================================================
--- trunk/scripts/blfs-chapter43.php Wed Sep 5 17:36:36 2018 (r20462)
+++ trunk/scripts/blfs-chapter43.php Thu Sep 6 09:21:08 2018 (r20463)
@@ -38,6 +38,10 @@
//'replace' => "https://googlechromereleases.blogspot.com/" ),
'replace' =>
"https://git.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/chromium"
),
+ array( 'pkg' => 'firefox',
+ 'match' => '^.*$',
+ 'replace' => "https://archive.mozilla.org/pub/firefox/releases/" ),
+
array( 'pkg' => 'gnucash',
'match' => '^.*$',
'replace' => "http://sourceforge.net/projects/gnucash/files" ),
@@ -133,7 +137,7 @@
if ( isset( $current ) && $book_index != "$current" ) return 0;
- if ( $package == "firefox" ) return "manual";
+ //if ( $package == "firefox" ) return "manual";
// Fix up directory path
foreach ( $url_fix as $u )
@@ -281,6 +285,9 @@
return $max;
}
+ if ( preg_match( "/firefox/", "$dirpath" ) )
+ return find_max( $lines, "/^\s+[\d\.]+/", "/^\s+([\d\.]+)\/.*$/" );
+
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