Update install-dat-release.sh

pull/93/head
xiagw 2020-09-12 22:08:22 +07:00 committed by GitHub
parent 5e95aff37b
commit b20648f8f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -13,7 +13,7 @@
# 0 0 * * * /usr/local/bin/install-dat-release > /dev/null 2>&1
# You can modify it to /usr/local/lib/v2ray/
# You can modify it to /usr/local/lib/v2ray
V2RAY="/usr/local/share/v2ray"
DOWNLOAD_LINK_GEOIP="https://github.com/v2ray/geoip/releases/latest/download"
DOWNLOAD_LINK_GEOSITE="https://github.com/v2ray/domain-list-community/releases/latest/download"
@ -62,8 +62,8 @@ install_file() {
main() {
check_if_running_as_root
download_file $DOWNLOAD_LINK_GEOIP $file_ip
download_file $DOWNLOAD_LINK_GEOSITE $file_dlc
download_files $DOWNLOAD_LINK_GEOIP $file_ip
download_files $DOWNLOAD_LINK_GEOSITE $file_dlc
check_sum
install_file
}