Author: bdubbs
Date: Tue Aug 21 13:23:52 2018
New Revision: 20360
Log:
Let atk use devel versions
Modified:
trunk/scripts/blfs-chapter25.php
Modified: trunk/scripts/blfs-chapter25.php
==============================================================================
--- trunk/scripts/blfs-chapter25.php Tue Aug 21 13:14:23 2018 (r20359)
+++ trunk/scripts/blfs-chapter25.php Tue Aug 21 13:23:52 2018 (r20360)
@@ -101,7 +101,11 @@
$dirpath = substr ( $dirpath, 0, $position );
$dirlines = http_get_file( "$dirpath/" );
- $dir = find_even_max( $dirlines, '/\d$/', '/^.* ([\d\.]+)$/' );
+ if ( $book_index == "atk") // For now atk uses devel versions
+ $dir = find_max( $dirlines, '/\d$/', '/^.* ([\d\.]+)$/' );
+ else
+ $dir = find_even_max( $dirlines, '/\d$/', '/^.* ([\d\.]+)$/' );
+
$dirpath .= "/$dir/";
}
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page