mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-26 20:20:53 +03:00
install_easy: use vim editor
This commit is contained in:
parent
6e061c8fc9
commit
94c848eab5
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user