diff --git a/common/installer.sh b/common/installer.sh index fc39132..2a3142c 100644 --- a/common/installer.sh +++ b/common/installer.sh @@ -39,7 +39,7 @@ edit_file() # $1 - file name local ed="$EDITOR" [ -n "$ed" ] || { - for e in mcedit nano vi; do + for e in mcedit nano vim vi; do exists "$e" && { ed="$e" break @@ -685,4 +685,4 @@ select_fwtype() } echo select firewall type : ask_list FWTYPE "iptables nftables" "$FWTYPE" && write_config_var FWTYPE -} \ No newline at end of file +}