Author: krejzi
Date: Wed Oct 25 12:03:55 2017
New Revision: 19377
Log:
Update currency scripts
Modified:
trunk/scripts/blfs-chapter35.php
trunk/scripts/summ-blfs.php
Modified: trunk/scripts/blfs-chapter35.php
==============================================================================
--- trunk/scripts/blfs-chapter35.php Wed Oct 25 00:32:17 2017 (r19376)
+++ trunk/scripts/blfs-chapter35.php Wed Oct 25 12:03:55 2017 (r19377)
@@ -134,7 +134,8 @@
if ( $book_index == "gnome-menus" ||
$book_index == "grilo" ||
$book_index == "libgdata" ||
- $book_index == "folks" )
+ $book_index == "folks" ||
+ $book_index == "geocode-glib" )
$dir = find_max( $dirs, "/\d$/", "/^.* ([\d\.]+)$/" );
else
$dir = find_even_max( $dirs, "/\d$/", "/^.* ([\d\.]+)$/" );
Modified: trunk/scripts/summ-blfs.php
==============================================================================
--- trunk/scripts/summ-blfs.php Wed Oct 25 00:32:17 2017 (r19376)
+++ trunk/scripts/summ-blfs.php Wed Oct 25 12:03:55 2017 (r19377)
@@ -80,7 +80,10 @@
$pkg == "kdepimlibs" ||
$pkg == "obconf-qt" ||
$pkg == "libdbusmenu-qt" ||
- $pkg == "juffed"
+ $pkg == "juffed" ||
+ $pkg == "js38" ||
+ $pkg == "js52" ||
+ $pkg == "polkit"
) continue;
if ( $c[3] == "0" ) $c[3] .= " ";
@@ -93,7 +96,9 @@
for ( $i=0; $i<count($ticket); $i++ )
{
$pkg = preg_replace( "/\+/", ".", $pkg );
- if ( preg_match( "/$pkg/i", $desc[$i] ) )
+ // Matching as follows:
+ // "$pkg-Version", "$pkg " (whitespace), "$pkg," (comma), "$pkg" (only at
end of the line)
+ if ( preg_match( "/$pkg(-[0-9]|,|\s|$)/i", $desc[$i] ) )
{
// Make sure cmake != cmake-extra-modules
if ( $pkg == "cmake" &&
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page