[Rear-users] SF.net SVN: rear:[382] trunk/usr/share/rear/output/ISO/Linux-i386/ 30_create_isolinux.sh

dag- at users.sourceforge.net dag- at users.sourceforge.net
Fri Apr 22 11:52:29 CEST 2011


Revision: 382
          http://rear.svn.sourceforge.net/rear/?rev=382&view=rev
Author:   dag-
Date:     2011-04-22 09:52:29 +0000 (Fri, 22 Apr 2011)

Log Message:
-----------
Try extlinux --version if syslinux fails

Modified Paths:
--------------
    trunk/usr/share/rear/output/ISO/Linux-i386/30_create_isolinux.sh

Modified: trunk/usr/share/rear/output/ISO/Linux-i386/30_create_isolinux.sh
===================================================================
--- trunk/usr/share/rear/output/ISO/Linux-i386/30_create_isolinux.sh	2011-04-22 09:45:37 UTC (rev 381)
+++ trunk/usr/share/rear/output/ISO/Linux-i386/30_create_isolinux.sh	2011-04-22 09:52:29 UTC (rev 382)
@@ -11,7 +11,11 @@
 # Test for the syslinux version
 syslinux_version=$(get_version syslinux --version)
 
+# Try extlinux instead for older syslinux releases
 if [ -z "$syslinux_version" ]; then
+    syslinux_version=$(get_version extlinux --version)
+fi
+if [ -z "$syslinux_version" ]; then
     BugError "Function get_version could not detect syslinux version."
 elif version_newer "$syslinux_version" 4.02 ; then
     FEATURE_SYSLINUX_BOOT_SYSLINUX="y"


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rear-users mailing list