Author: bdubbs
Date: Sat May 30 15:20:40 2020
New Revision: 23219

Log:
Fix currency for exo and libmbim

Modified:
   trunk/scripts/blfs-chapter09.php
   trunk/scripts/blfs-chapter37.php

Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php    Sat May 30 04:54:15 2020        (r23218)
+++ trunk/scripts/blfs-chapter09.php    Sat May 30 15:20:40 2020        (r23219)
@@ -484,6 +484,7 @@
 
   if ( $book_index == "telepathy-glib"    ||
        $book_index == "wayland-protocols" ||
+       $book_index == "libmbim"           ||
        $book_index == "wayland"           )
     return find_max( $lines, "/$package/", 
"/^.*$package-([\d\.]*\d)\.tar.*$/", TRUE );
 

Modified: trunk/scripts/blfs-chapter37.php
==============================================================================
--- trunk/scripts/blfs-chapter37.php    Sat May 30 04:54:15 2020        (r23218)
+++ trunk/scripts/blfs-chapter37.php    Sat May 30 15:20:40 2020        (r23219)
@@ -310,8 +310,11 @@
      $dirpath  = substr ( $dirpath, 0, $position );  // Up 1
      $dirs     = http_get_file( "$dirpath/" );
 
-     if ( preg_match( "/xf/", $package )  &&
-          $book_index != "xfburn" )
+     if ( ( preg_match( "/xf/",  $package ) ||
+            preg_match( "/exo/", $package ) 
+          ) &&
+          $book_index != "xfburn" 
+        )
        $dir = find_even_max( $dirs, "/^\d/", "/^([\d\.]+)\/.*$/" );
      else
        $dir = find_max     ( $dirs, "/^\d/", "/^([\d\.]+)\/.*$/" );
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to