Author: bdubbs
Date: Fri Oct 6 18:56:36 2017
New Revision: 19293
Log:
Update script for emacs
Modified:
trunk/scripts/blfs-chapter06.php
Modified: trunk/scripts/blfs-chapter06.php
==============================================================================
--- trunk/scripts/blfs-chapter06.php Fri Oct 6 14:03:07 2017 (r19292)
+++ trunk/scripts/blfs-chapter06.php Fri Oct 6 18:56:36 2017 (r19293)
@@ -13,11 +13,10 @@
$ignores = array();
$ignores[ 'zsh1' ] = '';
-//$current="tcsh"; // For debugging
+//$current="emacs"; // For debugging
$regex = array();
$regex[ 'joe' ] = "/^.*Download joe-(\d[\d\.]+).tar.*$/";
-//$regex[ 'tcsh' ] = "/^.*release is (\d[\d\.]+)\..*$/";
$url_fix = array (
@@ -27,16 +26,12 @@
array( 'pkg' => 'emacs',
'match' => '^.*$',
- 'replace' => "http://git.savannah.gnu.org/cgit/emacs.git/" ),
+ 'replace' => "https://www.gnu.org/software/emacs" ),
array( 'pkg' => 'vim',
'match' => '^.*$',
'replace' => "http://ftp.vim.org/vim/unix" ),
-// array( 'pkg' => 'tcsh',
-// 'match' => '^.*$',
-// 'replace' => "http://www.tcsh.org/MostRecentRelease" ),
-
array( 'pkg' => 'nano',
'match' => '^.*$',
'replace' => "https://www.nano-editor.org/dist/" ),
@@ -122,7 +117,7 @@
// emacs
if ( $book_index == "emacs" )
- return find_max( $lines, '/emacs/', '/^.*emacs-([\d\.]+).tar.*$/' );
+ return find_max( $lines, '/latest/', '/^.*Emacs ([\d\.]+) .*$/' );
if ( $book_index == "dash" )
return find_max( $lines, '/^v\d/', '/^v([\d\.]+).*$/' );
--
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page