When a value for LH_INITRAMFS is not set, defaults.sh will set it to
'auto' rather than setting it to something sensible (as is when it is
set explicitly to 'auto'.

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:[EMAIL PROTECTED]
+972-50-7952406           mailto:[EMAIL PROTECTED]       
http://www.xorcom.com  iax:[EMAIL PROTECTED]/tzafrir
diff --git a/functions/defaults.sh b/functions/defaults.sh
index 05b1e0d..ae9c8a4 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -168,7 +168,7 @@ Set_defaults ()
 	if [ -z "${LH_INITRAMFS}" ]
 	then
 		LH_INITRAMFS="auto"
-	else
+	fi
 		if [ "${LH_INITRAMFS}" = "auto" ]
 		then
 			case "${LH_MODE}" in
@@ -190,7 +190,6 @@ Set_defaults ()
 					;;
 			esac
 		fi
-	fi
 
 	# Setting losetup
 	if [ -z "${LH_LOSETUP}" ] || [ ! -x "${LH_LOSETUP}" ]
_______________________________________________
debian-live-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

Reply via email to