2021-12-15 13:44:28 +00:00
|
|
|
#!/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.
|
2023-02-14 10:52:22 +00:00
|
|
|
#
|
|
|
|
trackers_url='https://raw.githubusercontent.com/AdguardTeam/companiesdb/main/dist/trackers.json'
|
|
|
|
output='./client/src/helpers/trackers/trackers.json'
|
|
|
|
readonly trackers_url output
|
2021-12-15 13:44:28 +00:00
|
|
|
|
2023-02-14 10:52:22 +00:00
|
|
|
curl -o "$output" -v "$trackers_url"
|