72db014905
Merge in DNS/adguard-home from 2793-whotracksme to master
Squashed commit of the following:
commit eff9de98b389ba087eb529c12e3ec916842aa8c3
Merge: bf9bc6a4 49eb62ae
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 16:38:53 2021 +0300
Merge branch 'master' into 2793-whotracksme
commit bf9bc6a4f5c1d7e4b6265f1c33bd532ec5b58cc7
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 16:04:57 2021 +0300
scripts: fix review comments
commit 5a035cabc1a75a3c750a4a7a36af38ad9f33959b
Author: Andrey Meshkov <am@adguard.com>
Date: Wed Dec 15 15:47:41 2021 +0300
added companiesdb script, fix #2793
15 lines
565 B
Bash
Executable File
15 lines
565 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 "$whotracksme" --output "${base_path}/whotracksme.json"
|
|
curl "$adguard" --output "${base_path}/adguard.json"
|