mirror of
https://github.com/itdoginfo/podkop.git
synced 2026-07-08 01:11:31 +03:00
Compare commits
4 Commits
de7b73af3c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a64923db5a | ||
|
|
0c99dddf11 | ||
|
|
922d6d4638 | ||
|
|
34f49c392e |
@@ -510,7 +510,7 @@ list_update() {
|
|||||||
local service_proxy_address
|
local service_proxy_address
|
||||||
service_proxy_address="$(get_service_proxy_address)"
|
service_proxy_address="$(get_service_proxy_address)"
|
||||||
|
|
||||||
if [ -n "$http_proxy_address" ]; then
|
if [ -n "$service_proxy_address" ]; then
|
||||||
if curl -s -x "http://$service_proxy_address" -m $curl_timeout https://github.com > /dev/null; then
|
if curl -s -x "http://$service_proxy_address" -m $curl_timeout https://github.com > /dev/null; then
|
||||||
echolog "✅ GitHub connection check passed (via proxy)"
|
echolog "✅ GitHub connection check passed (via proxy)"
|
||||||
break
|
break
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ patch_source_ruleset_rules() {
|
|||||||
import_plain_domain_list_to_local_source_ruleset_chunked() {
|
import_plain_domain_list_to_local_source_ruleset_chunked() {
|
||||||
local plain_list_filepath="$1"
|
local plain_list_filepath="$1"
|
||||||
local ruleset_filepath="$2"
|
local ruleset_filepath="$2"
|
||||||
local chunk_size="${3:-5000}"
|
local chunk_size="${3:-1000}"
|
||||||
|
|
||||||
local array count json_array
|
local array count json_array
|
||||||
count=0
|
count=0
|
||||||
@@ -102,7 +102,7 @@ import_plain_domain_list_to_local_source_ruleset_chunked() {
|
|||||||
import_plain_subnet_list_to_local_source_ruleset_chunked() {
|
import_plain_subnet_list_to_local_source_ruleset_chunked() {
|
||||||
local plain_list_filepath="$1"
|
local plain_list_filepath="$1"
|
||||||
local ruleset_filepath="$2"
|
local ruleset_filepath="$2"
|
||||||
local chunk_size="${3:-5000}"
|
local chunk_size="${3:-1000}"
|
||||||
|
|
||||||
local array count json_array
|
local array count json_array
|
||||||
count=0
|
count=0
|
||||||
|
|||||||
Reference in New Issue
Block a user