mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 14:53:18 +00:00
Revert "install_easy: do not clear ip lists if no download options specified"
This commit is contained in:
parent
d7b08c8e92
commit
0569a2c99b
@ -647,11 +647,11 @@ timer_install_systemd()
|
|||||||
|
|
||||||
download_list()
|
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. do not clear ip lists if no download option specified
|
# can be txt or txt.gz
|
||||||
[ -n "$GETLIST" ] && "$IPSET_DIR/clear_lists.sh"
|
"$IPSET_DIR/clear_lists.sh"
|
||||||
"$GET_LIST"
|
"$GET_LIST"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user