mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove unneeded editor check from lowmem images
This commit is contained in:
parent
792fe11637
commit
7901185c52
1 changed files with 3 additions and 8 deletions
|
@ -729,14 +729,9 @@ getdest() {
|
|||
#
|
||||
geteditor() {
|
||||
if ! [ "$EDITOR" ]; then
|
||||
if ! [ "$(which vi)" ]; then
|
||||
DIALOG --menu "Select a Text Editor to Use" 10 35 3 \
|
||||
"1" "nano (easier)" 2>$ANSWER || return 1
|
||||
else
|
||||
DIALOG --menu "Select a Text Editor to Use" 10 35 3 \
|
||||
"1" "nano (easier)" \
|
||||
"2" "vi" 2>$ANSWER || return 1
|
||||
fi
|
||||
DIALOG --menu "Select a Text Editor to Use" 10 35 3 \
|
||||
"1" "nano (easier)" \
|
||||
"2" "vi" 2>$ANSWER || return 1
|
||||
case $(cat $ANSWER) in
|
||||
"1") EDITOR="nano" ;;
|
||||
"2") EDITOR="vi" ;;
|
||||
|
|
Loading…
Reference in a new issue