mirror of
https://github.com/bol-van/zapret.git
synced 2025-02-02 05:20:34 +05:00
install_easy: do not clear ip lists if no download options specified
This commit is contained in:
parent
16648485e1
commit
92b200964a
@ -650,8 +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
|
||||||
"$IPSET_DIR/clear_lists.sh"
|
[ -n "$GETLIST" ] && "$IPSET_DIR/clear_lists.sh"
|
||||||
"$GET_LIST"
|
"$GET_LIST"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user