diff options
author | zswdcx | 2022-01-02 01:12:06 +0800 |
---|---|---|
committer | zswdcx | 2022-01-02 01:12:06 +0800 |
commit | d09650bc3f5c30595ca1701d01142d4cae5e4858 (patch) | |
tree | b5ea060e2b1826959679bd296582ef68465b0c75 /vxray-rules-dat-updater | |
parent | d8190954c2635bd563248660e531d443f4292303 (diff) | |
download | aur-d09650bc3f5c30595ca1701d01142d4cae5e4858.tar.gz |
rm sysusers and add ghproxy
Diffstat (limited to 'vxray-rules-dat-updater')
-rwxr-xr-x | vxray-rules-dat-updater | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/vxray-rules-dat-updater b/vxray-rules-dat-updater index d55ed8754aa..e718fcbe524 100755 --- a/vxray-rules-dat-updater +++ b/vxray-rules-dat-updater @@ -5,7 +5,7 @@ set -e FastGit="https://hub.fastgit.org/Loyalsoldier/v2ray-rules-dat/releases/latest/" GitHub="https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download" JsDelivr="https://cdn.jsdelivr.net/gh/Loyalsoldier/v2ray-rules-dat@release/" -CfCDN="https://cfgit.cern.ga/Loyalsoldier/v2ray-rules-dat/releases/latest/download" +GHProxy="https://ghproxy.com/https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download" download_files() { echo "Fetching geoip.dat" @@ -20,8 +20,6 @@ download_files() { rm -v "geosite.dat.sha256sum" "geoip.dat.sha256sum" cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/xray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geoip.dat /usr/share/v2ray/geoip.dat && cp -f /var/lib/vxray-rules-dat/geosite.dat /usr/share/xray/geosite.dat && cp -f /var/lib/vxray-rules-dat/geosite.dat /usr/share/v2ray/geosite.dat - ##support for QV2Ray3.0 - #cp -f /usr/bin/xray /usr/bin/v2ray } case "${1}" in @@ -31,8 +29,8 @@ case "${1}" in "jsdelivr" | "js") download_files $JsDelivr ;; -"cfcdn" | "cf") - download_files $CfCDN +"ghproxy" | "gh") + download_files $GHProxy ;; *) download_files $GitHub |