mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-12-16 03:51:35 +03:00
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"
|