mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 14:05:45 +03:00
3378d1c103
Merge in DNS/adguard-home from 5471-new-trackers-db to master
Squashed commit of the following:
commit d90742c2902afd3424fb8721419231493610048b
Merge: 5e87a1f2 a50a8abb
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Tue Feb 14 13:38:40 2023 +0300
Merge branch 'master' into 5471-new-trackers-db
commit 5e87a1f25cd1d1dc52629d36e3d50d032ada1093
Author: Ainar Garipov <A.Garipov@AdGuard.COM>
Date: Mon Feb 13 18:38:54 2023 +0300
all: use new tracker source
12 lines
393 B
Bash
Executable file
12 lines
393 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -e -f -u -x
|
|
|
|
# This script syncs companies DB that we bundle with AdGuard Home. The source
|
|
# for this database is https://github.com/AdguardTeam/companiesdb.
|
|
#
|
|
trackers_url='https://raw.githubusercontent.com/AdguardTeam/companiesdb/main/dist/trackers.json'
|
|
output='./client/src/helpers/trackers/trackers.json'
|
|
readonly trackers_url output
|
|
|
|
curl -o "$output" -v "$trackers_url"
|