[Lunar-commits] r18393 - lunar-iso/trunk/lunar-install/sbin
Auke Kok
sofar at lunar-linux.org
Mon Jan 30 16:37:27 UTC 2006
Author: sofar
Date: 2006-01-30 16:37:24 +0000 (Mon, 30 Jan 2006)
New Revision: 18393
Modified:
lunar-iso/trunk/lunar-install/sbin/lunar-install
Log:
* confirm dialog needed more space
* adding an extra device node to the partition selection diagram now is lsited as the bottom item in the list - much more findable then the extra button.
Modified: lunar-iso/trunk/lunar-install/sbin/lunar-install
===================================================================
--- lunar-iso/trunk/lunar-install/sbin/lunar-install 2006-01-30 06:41:56 UTC (rev 18392)
+++ lunar-iso/trunk/lunar-install/sbin/lunar-install 2006-01-30 16:37:24 UTC (rev 18393)
@@ -41,7 +41,7 @@
true
fi
else
- $DIALOG $2 --yesno "$1" 8 50
+ $DIALOG $2 --yesno "$1" 9 60
fi
}
@@ -242,8 +242,8 @@
local TITLE HELP PART
TITLE="Partition Selection Menu"
HELP="Please select a partition"
- PART=$($DIALOG --title "$TITLE" --extra-button --extra-label "Add..." --cancel-label "Exit" --menu "$HELP" 0 0 0 `list_devices`)
- if [ $? == 3 ]; then
+ PART=$($DIALOG --title "$TITLE" --cancel-label "Exit" --menu "$HELP" 0 0 0 `list_devices` "New" "Add an unlisted device to this list...")
+ if [ $PART == "New" ]; then
PART=$(inputbox "Enter special device node" "/dev/")
if [ ! -b $(readlink -f $PART) ]; then
$DIALOG --msgbox "Device $PART does not exist or is not a valid device node. Perhaps you need to load a kernel module or start a subsystem first?" 0 0
@@ -461,7 +461,7 @@
MNTPNT=$(get_mount_point $FSYS) &&
- PROMPT="$PART might already be formatted with the $FSYS filesystem and may contain data. Formatting it again will destroy all present data on this partition. Do you wish to format it?"
+ PROMPT="$PART might already be formatted with the $FSYS filesystem and may contain data. Formatting it will destroy all the information on this partition. Are you sure you want to format it?"
if confirm "$PROMPT" ; then
FORMAT=yes
CHECK=$(check_partition $FSYS)
More information about the Lunar-commits
mailing list