mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-29 10:28:53 +03:00
e0080ffa3a
Merge in DNS/adguard-home from upd-companiesdb to master Squashed commit of the following: commit c38ccd89a46193b24393c00b4a83ed439f6d7469 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Wed Oct 19 12:00:58 2022 +0300 client: upd trackers
14 lines
563 B
Bash
Executable file
14 lines
563 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.
|
|
|
|
whotracksme='https://raw.githubusercontent.com/AdguardTeam/companiesdb/main/dist/whotracksme.json'
|
|
adguard='https://raw.githubusercontent.com/AdguardTeam/companiesdb/main/dist/adguard.json'
|
|
base_path='../../client/src/helpers/trackers'
|
|
readonly whotracksme adguard base_path
|
|
|
|
curl -o "${base_path}/whotracksme.json" -v "$whotracksme"
|
|
curl -o "${base_path}/adguard.json" -v "$adguard"
|