Revert "install_easy: clear ip lists if MODE_FILTER=hostlist"

This commit is contained in:
bol-van 2023-02-08 18:44:52 +03:00
parent 67f09d0ffd
commit d7b08c8e92

View File

@ -650,9 +650,8 @@ download_list()
[ -x "$GET_LIST" ] && { [ -x "$GET_LIST" ] && {
echo \* downloading blocked ip/host list echo \* downloading blocked ip/host list
# can be txt or txt.gz. # can be txt or txt.gz. do not clear ip lists if no download option specified
# do not clear ip lists if no download option specified [ -n "$GETLIST" ] && "$IPSET_DIR/clear_lists.sh"
[ -n "$GETLIST" -o "$MODE_FILTER" != ipset ] && "$IPSET_DIR/clear_lists.sh"
"$GET_LIST" "$GET_LIST"
} }
} }