Author: krejzi
Date: Thu Oct 26 11:12:32 2017
New Revision: 19388
Log:
Update currency for telepathy packages move
Modified:
trunk/scripts/blfs-chapter09.php
trunk/scripts/blfs-chapter11.php
Modified: trunk/scripts/blfs-chapter09.php
==============================================================================
--- trunk/scripts/blfs-chapter09.php Thu Oct 26 02:06:57 2017 (r19387)
+++ trunk/scripts/blfs-chapter09.php Thu Oct 26 11:12:32 2017 (r19388)
@@ -394,10 +394,14 @@
if ( $book_index == "gmime1" )
return find_max( $lines, "/gmime/", "/^.*gmime-([\d\.]*\d)\.tar.*$/" );
+ if ( $book_index == "telepathy-glib" ||
+ $book_index == "wayland" )
+ return find_max( $lines, "/$package/",
"/^.*$package-([\d\.]*\d)\.tar.*$/", TRUE );
+
// Most packages are in the form $package-n.n.n
// Occasionally there are dashes (e.g. 201-1)
- $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/",
$package == "wayland" ? TRUE : FALSE );
+ $max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" );
return $max;
}
Modified: trunk/scripts/blfs-chapter11.php
==============================================================================
--- trunk/scripts/blfs-chapter11.php Thu Oct 26 02:06:57 2017 (r19387)
+++ trunk/scripts/blfs-chapter11.php Thu Oct 26 11:12:32 2017 (r19388)
@@ -189,6 +189,9 @@
if ( $book_index == "rep-gtk" )
return find_max( $lines, '/rep-gtk/', '/^.*rep-gtk[_-]([\d\.]+).tar.*$/' );
+ if ( $book_index == "telepathy-mission-control" )
+ return find_max( $lines, "/$package/",
"/^.*$package-([\d\.]*\d)\.tar.*$/", TRUE );
+
// Most packages are in the form $package-n.n.n
// Occasionally there are dashes (e.g. 201-1)
$max = find_max( $lines, "/$package/", "/^.*$package-([\d\.]*\d)\.tar.*$/" );
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page