Author: bdubbs
Date: Fri Jan 5 11:01:35 2018
New Revision: 19651
Log:
Fix currency script for gpm
Modified:
trunk/scripts/blfs-include.php
Modified: trunk/scripts/blfs-include.php
==============================================================================
--- trunk/scripts/blfs-include.php Fri Jan 5 10:17:22 2018 (r19650)
+++ trunk/scripts/blfs-include.php Fri Jan 5 11:01:35 2018 (r19651)
@@ -100,6 +100,12 @@
return $lines;
}
+ if ( preg_match( "/gpm/", $url ) )
+ {
+ exec( "wget -q --no-check-certificate -O- $url", $dir );
+ return $dir;
+ }
+
if ( ! preg_match( "/sourceforge/", $url ) ||
preg_match( "/jfs/", $url ) ||
preg_match( "/liba52/", $url ) ||
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page