Author: bdubbs
Date: Sat May 4 19:37:50 2019
New Revision: 21554
Log:
Fix currency for exiv2
Modified:
trunk/scripts/blfs-chapter10.php
Modified: trunk/scripts/blfs-chapter10.php
==============================================================================
--- trunk/scripts/blfs-chapter10.php Sat May 4 15:12:39 2019 (r21553)
+++ trunk/scripts/blfs-chapter10.php Sat May 4 19:37:50 2019 (r21554)
@@ -111,7 +111,8 @@
array( 'pkg' => 'exiv2',
'match' => '^.*$',
- 'replace' => "https://github.com/Exiv2/exiv2/releases" ),
+ 'replace' => "https://www.exiv2.org/download.html" ),
+ //'replace' => "https://github.com/Exiv2/exiv2/releases" ),
array( 'pkg' => 'opencv',
'match' => '^.*$',
@@ -277,18 +278,7 @@
return find_max( $lines, "/$book_index/", '/^.*aalib-([rc\d\.]+).tar.*$/'
);
if ( $book_index == "exiv2" )
- {
- $max = find_max( $lines, "/ Version \d/", '/^.*Version (\d\.[\d\.]+)$/' );
- $dots = 0;
- for ( $i = 0; $i < strlen($max); $i++ )
- {
- if ( $max[$i] == '.' ) $dots++;
- }
-
- if ( $dots < 2 ) $max .= '.0';
-
- return $max;
- }
+ return find_max( $lines, "/Currently/", '/^.*v(\d\.[\d\.]+)$/' );
// imlib
if ( $book_index == "imlib2" )
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page