Author: bdubbs Date: Wed Aug 1 22:38:51 2018 New Revision: 20266 Log: Minor script updates
Modified: trunk/scripts/blfs-chapter12.php trunk/scripts/blfs-chapter43.php Modified: trunk/scripts/blfs-chapter12.php ============================================================================== --- trunk/scripts/blfs-chapter12.php Wed Aug 1 15:18:04 2018 (r20265) +++ trunk/scripts/blfs-chapter12.php Wed Aug 1 22:38:51 2018 (r20266) @@ -20,7 +20,7 @@ //$current="sysstat"; $regex = array(); -$regex[ 'fcron' ] = "/^.*Stable release fcron (\d[\d\.]+\d)*$/"; +//$regex[ 'fcron' ] = "/^.*Stable release fcron (\d[\d\.]+\d)*$/"; $regex[ 'ibus' ] = "/^.*ibus-(\d[\d\.]+\d).tar.*$/"; $regex[ 'strigi' ] = "/^(\d[\d\.]+\d) .*$/"; $regex[ 'systemd' ] = "/^.*v(\d[\d\.]+\d).*$/"; @@ -191,7 +191,7 @@ return find_max( $lines, '/are/', '/^.*and (\d[\d\.]*\d) .*$/' ); if ( $book_index == "fcron" ) - return find_max( $lines, '/fcron/', '/^.*fcron-(\d[\d\.]*\d).src.tar.*$/' ); + return find_max( $lines, '/fcron/', '/^.*fcron (\d[\d\.]*\d) released .*$/' ); if ( $book_index == "raptor2" ) return find_max( $lines, '/raptor/', '/^.*raptor2-([\d\.]*\d).tar.*$/' ); Modified: trunk/scripts/blfs-chapter43.php ============================================================================== --- trunk/scripts/blfs-chapter43.php Wed Aug 1 15:18:04 2018 (r20265) +++ trunk/scripts/blfs-chapter43.php Wed Aug 1 22:38:51 2018 (r20266) @@ -24,7 +24,7 @@ $regex[ 'chromium' ] = "/^pkgver=(\d[\d\.]+\d).*$/"; $regex[ 'gnucash' ] = "/^.*Download gnucash-(\d[\d\.]+\d).tar.*$/"; $regex[ 'midori' ] = "/^.*midori_(\d[\d\.]*\d)_all.*$/"; -$regex[ 'pidgen' ] = "/^.*Download pidgin-(\d[\d\.]+\d).*$/"; +$regex[ 'pidgen' ] = "/^.*pidgin-(\d[\d\.]+\d)-.*$/"; $regex[ 'fontforge-dist'] = "/^.*fontforge-dist-(20\d+).tar.*$/"; $regex[ 'xscreensaver' ] = "/^.*xscreensaver-(\d[\d\.]+\d).tar.*$/"; $regex[ 'tigervnc' ] = "/^.*TigerVNC (\d[\d\.]+\d)$/"; -- http://lists.linuxfromscratch.org/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page