Author: bdubbs
Date: Mon Feb 25 21:48:46 2019
New Revision: 21248

Log:
Fix currency for alsa-firmware

Modified:
   trunk/scripts/blfs-chapter46.php

Modified: trunk/scripts/blfs-chapter46.php
==============================================================================
--- trunk/scripts/blfs-chapter46.php    Mon Feb 25 17:20:57 2019        (r21247)
+++ trunk/scripts/blfs-chapter46.php    Mon Feb 25 21:48:46 2019        (r21248)
@@ -287,6 +287,12 @@
      return 0;  // This is an error
   }
 
+  if ( preg_match( '/alsa-firmware/', $package ) )
+  {
+      $max = find_max( $lines, "/$package/", 
"/^.*$package-(\d\.[\d\.]+).tar.*$/" );
+      return $max;
+  }
+
   if ( preg_match( '/alsa/', $package ) )
   {
       $max = find_max( $lines, "/$package/", "/^.*$package-(\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