Pull request: all: rm inactive list, imp lint script
Updates #2644. Squashed commit of the following: commit 1a1c2f0a232885d8ea6335bce2831a5a21fe800a Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Fri Jun 25 18:17:51 2021 +0300 all: rm inactive list, imp lint script
This commit is contained in:
parent
90a853627e
commit
e25a532987
|
@ -59,7 +59,6 @@ func defaultFilters() []filter {
|
|||
return []filter{
|
||||
{Filter: filtering.Filter{ID: 1}, Enabled: true, URL: "https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt", Name: "AdGuard DNS filter"},
|
||||
{Filter: filtering.Filter{ID: 2}, Enabled: false, URL: "https://adaway.org/hosts.txt", Name: "AdAway Default Blocklist"},
|
||||
{Filter: filtering.Filter{ID: 4}, Enabled: false, URL: "https://www.malwaredomainlist.com/hostslist/hosts.txt", Name: "MalwareDomainList.com Hosts List"},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -50,7 +50,6 @@ trap not_found EXIT
|
|||
# Warnings
|
||||
|
||||
go_min_version='go1.16'
|
||||
go_min_version_prefix="go version ${go_min_version}"
|
||||
go_version_msg="
|
||||
warning: your go version is different from the recommended minimal one (${go_min_version}).
|
||||
if you have the version installed, please set the GO environment variable.
|
||||
|
@ -58,11 +57,11 @@ for example:
|
|||
|
||||
export GO='${go_min_version}'
|
||||
"
|
||||
readonly go_min_version go_min_version_prefix go_version_msg
|
||||
readonly go_min_version go_version_msg
|
||||
|
||||
case "$( "$GO" version )"
|
||||
in
|
||||
("$go_min_version_prefix"*)
|
||||
('go version'*"$go_min_version"*)
|
||||
# Go on.
|
||||
;;
|
||||
(*)
|
||||
|
|
Loading…
Reference in New Issue