OSDN Git Service

fix confirm
authorpaperbenni <paperbenni@gmail.com>
Tue, 9 Jun 2020 15:51:42 +0000 (17:51 +0200)
committerpaperbenni <paperbenni@gmail.com>
Tue, 9 Jun 2020 15:51:42 +0000 (17:51 +0200)
askdisk.sh

index dc4e924..5086762 100755 (executable)
@@ -140,8 +140,8 @@ chooseroot() {
 choosegrub() {
 
     while [ -z $BOOTLOADERCONFIRM ]; do
-        if ! confirm -c "install bootloader (grub) ?"; then
-            if confirm -c "are you sure? This could make the system unbootable. "; then
+        if ! imenu -c "install bootloader (grub) ?"; then
+            if imenu -c "are you sure? This could make the system unbootable. "; then
                 touch /root/instantARCH/config/nobootloader
                 return
             fi