summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorzswdcx2021-10-02 14:53:46 +0800
committerzswdcx2021-10-02 14:53:46 +0800
commit31e814e2ae0c6569b448637ebad0de573dc6a025 (patch)
treead8eb2d26b80f084cfb825f2d89cf761ff8a2f30
parent33fd41bcb36db40b2e5948a4d353a7c3d8eaeb78 (diff)
downloadaur-31e814e2ae0c6569b448637ebad0de573dc6a025.tar.gz
auto mode
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
-rwxr-xr-xvxray-rules-dat-updater1
3 files changed, 5 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed6c2a7a90e..48b5e68df66 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = vxray-rules-dat-git
pkgdesc = Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update. DO NOT flag out-dated.
- pkgver = r202108282209
+ pkgver = r202110022209
pkgrel = 1
url = https://github.com/Loyalsoldier/v2ray-rules-dat
install = vxray-rules-dat-git.install
@@ -27,7 +27,7 @@ pkgbase = vxray-rules-dat-git
source = vxray-rules-dat-updater.timer
sha256sums = SKIP
sha256sums = eb1d2175b8be7f9779639b2b24d8260f83116c9a743f1fb0052f056518ccfd11
- sha256sums = 42970e6b8eb68d3d317454ee64d904d393c7f7271f8b8358b34cb82fb74bc4de
+ sha256sums = 88221df34a025ee77bbaeac0dcbf8d60fe20a53c1592ba52502211c904d2d80a
sha256sums = be8a1aa0fcb3a20387ebfc00e03466867d647de2b154c1606856e887cd8d7cf5
sha256sums = 1c3c0b854bbfd96b0d84383bfff84eb70e69ac5193b7a535f75183ca28634fc2
sha256sums = 9742ad89797cdcba3d2f1068807a884e09f3797419c19d61125c7c93cec9212b
diff --git a/PKGBUILD b/PKGBUILD
index 6ec8635a85c..8cb32bab390 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=vxray-rules-dat-git
_pkgname=vxray-rules-dat
pkgdesc="Enhanced edition of V2Ray and Xray rules dat files, compatible with Trojan-Go. Automaitcally update. DO NOT flag out-dated."
-pkgver=r202108282209
+pkgver=r202110022209
pkgrel=1
arch=('any')
url="https://github.com/Loyalsoldier/v2ray-rules-dat"
@@ -28,7 +28,7 @@ source=(
sha256sums=(
'SKIP'
'eb1d2175b8be7f9779639b2b24d8260f83116c9a743f1fb0052f056518ccfd11'
- '42970e6b8eb68d3d317454ee64d904d393c7f7271f8b8358b34cb82fb74bc4de'
+ '88221df34a025ee77bbaeac0dcbf8d60fe20a53c1592ba52502211c904d2d80a'
'be8a1aa0fcb3a20387ebfc00e03466867d647de2b154c1606856e887cd8d7cf5'
'1c3c0b854bbfd96b0d84383bfff84eb70e69ac5193b7a535f75183ca28634fc2'
'9742ad89797cdcba3d2f1068807a884e09f3797419c19d61125c7c93cec9212b'
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