summarylogtreecommitdiffstats
path: root/vxray-rules-dat-updater
diff options
context:
space:
mode:
Diffstat (limited to 'vxray-rules-dat-updater')
-rwxr-xr-xvxray-rules-dat-updater1
1 files changed, 1 insertions, 0 deletions
diff --git a/vxray-rules-dat-updater b/vxray-rules-dat-updater
index fd395bbf995..80f72ccdca6 100755
--- a/vxray-rules-dat-updater
+++ b/vxray-rules-dat-updater
@@ -19,6 +19,7 @@ download_files() {
sha256sum --check "geosite.dat.sha256sum"
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
}
case "${1}" in