[Lunar-commits] r15948 - lunar-iso/trunk/lunar-install/sbin

Auke Kok sofar at lunar-linux.org
Sun Jul 31 12:34:00 UTC 2005


Author: sofar
Date: 2005-07-31 12:33:59 +0000 (Sun, 31 Jul 2005)
New Revision: 15948

Modified:
   lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
Fix: allow 'cancel' and not set a keymap


Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-07-31 08:06:07 UTC (rev 15947)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install	2005-07-31 12:33:59 UTC (rev 15948)
@@ -266,7 +266,9 @@
     HELP="Please select your preferred keymapping."
     KEYMAPS=$(show_keymaps)
     KEYMAP=`$DIALOG --title "$TITLE" --menu "$HELP" 0 0 0 $KEYMAPS`
-    loadkeys $KEYMAP
+    if [ -n "$KEYMAP" ]; then
+    	loadkeys $KEYMAP
+    fi
     C_OK=\\Z2
     DEFAULT=D
 }



More information about the Lunar-commits mailing list