From 0569a2c99badba1f044d05aa3c53b98eca89f49e Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 8 Feb 2023 18:45:25 +0300 Subject: [PATCH] Revert "install_easy: do not clear ip lists if no download options specified" --- install_easy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install_easy.sh b/install_easy.sh index f33aacd..ebef8ff 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -647,11 +647,11 @@ timer_install_systemd() download_list() { - [ -x "$GET_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" ] && "$IPSET_DIR/clear_lists.sh" + # can be txt or txt.gz + "$IPSET_DIR/clear_lists.sh" "$GET_LIST" } }