From d7b08c8e9297749244bda0a0b42aba9a2b18bfde Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 8 Feb 2023 18:44:52 +0300 Subject: [PATCH] Revert "install_easy: clear ip lists if MODE_FILTER=hostlist" --- install_easy.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install_easy.sh b/install_easy.sh index 30b43dc..f33aacd 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -650,9 +650,8 @@ download_list() [ -x "$GET_LIST" ] && { echo \* downloading blocked ip/host list - # can be txt or txt.gz. - # do not clear ip lists if no download option specified - [ -n "$GETLIST" -o "$MODE_FILTER" != ipset ] && "$IPSET_DIR/clear_lists.sh" + # can be txt or txt.gz. do not clear ip lists if no download option specified + [ -n "$GETLIST" ] && "$IPSET_DIR/clear_lists.sh" "$GET_LIST" } }