From db0caf7d5805b66f1e1d7170f31ce1146016bb37 Mon Sep 17 00:00:00 2001 From: bol-van Date: Wed, 6 Nov 2024 16:18:41 +0300 Subject: [PATCH] install_easy.sh: allow to download lists in autohostlist filter mode --- docs/changes.txt | 1 + install_easy.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index eb26ea9..ef24872 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -362,3 +362,4 @@ readme.md : move russian version to markdown nfqws,tpws: use alternate $ sign for $ repo: binaries removed from repo. git actions binaries build in releases. uninstall_easy.sh: offer to remove dependencies in openwrt +install_easy.sh: allow to download lists in autohostlist filter mode diff --git a/install_easy.sh b/install_easy.sh index 58c0cdf..d001051 100755 --- a/install_easy.sh +++ b/install_easy.sh @@ -206,12 +206,12 @@ select_mode() select_getlist() { - if [ "$MODE_FILTER" = "ipset" -o "$MODE_FILTER" = "hostlist" ]; then + if [ "$MODE_FILTER" = "ipset" -o "$MODE_FILTER" = "hostlist" -o "$MODE_FILTER" = "autohostlist" ]; then local D=N [ -n "$GETLIST" ] && D=Y echo if ask_yes_no $D "do you want to auto download ip/host list"; then - if [ "$MODE_FILTER" = "hostlist" ] ; then + if [ "$MODE_FILTER" = "hostlist" -o "$MODE_FILTER" = "autohostlist" ] ; then GETLISTS="get_refilter_domains.sh get_antizapret_domains.sh get_reestr_resolvable_domains.sh get_reestr_hostlist.sh" GETLIST_DEF="get_antizapret_domains.sh" else