OSDN Git Service

fix menu messages
authorpaperbenni <paperbenni@gmail.com>
Wed, 13 May 2020 17:04:27 +0000 (19:04 +0200)
committerpaperbenni <paperbenni@gmail.com>
Wed, 13 May 2020 17:04:27 +0000 (19:04 +0200)
ask.sh

diff --git a/ask.sh b/ask.sh
index e5a13f3..c6289bf 100755 (executable)
--- a/ask.sh
+++ b/ask.sh
@@ -85,7 +85,8 @@ while ! [ -e /root/instantARCH/config/confirm ]; do
     while [ -z "$DISK" ]; do
         if guimode; then
             DISK=$(fdisk -l | grep -i '^Disk /.*:' | imenu -l "select disk> ")
-            if ! echo "Install on $DISK ?\n this will delete all existing data" | imenu -C; then
+            if ! echo "Install on $DISK ?
+this will delete all existing data" | imenu -C; then
                 unset DISK
             fi
         else
@@ -194,7 +195,9 @@ Should installation proceed with these parameters?"
 done
 
 if guimode; then
-    imenu -m "The installation will now begin. This could take a while. Keep the machine powered and connected to the internet"
+    imenu -M <<<"The installation will now begin.
+    This could take a while.
+    Keep the machine powered and connected to the internet"
 else
     messagebox "The installation will now begin. This could take a while. Keep the machine powered and connected to the internet"
     clear