install_easy: use vim editor

This commit is contained in:
bol-van 2024-08-13 15:20:34 +03:00
parent 6e061c8fc9
commit 94c848eab5

View File

@ -39,7 +39,7 @@ edit_file()
# $1 - file name # $1 - file name
local ed="$EDITOR" local ed="$EDITOR"
[ -n "$ed" ] || { [ -n "$ed" ] || {
for e in mcedit nano vi; do for e in mcedit nano vim vi; do
exists "$e" && { exists "$e" && {
ed="$e" ed="$e"
break break
@ -685,4 +685,4 @@ select_fwtype()
} }
echo select firewall type : echo select firewall type :
ask_list FWTYPE "iptables nftables" "$FWTYPE" && write_config_var FWTYPE ask_list FWTYPE "iptables nftables" "$FWTYPE" && write_config_var FWTYPE
} }