summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAkinoKaede2020-11-29 23:14:07 +0800
committerAkinoKaede2020-11-29 23:14:07 +0800
commitd4caf8ad48abdfe4b3592f5714e068ef602e79c4 (patch)
tree2deadb56a93e8088a9e767b57fade1d60fa07fd7
parent499a62e727228228418d7b1413d3279653cdc5e5 (diff)
downloadaur-d4caf8ad48abdfe4b3592f5714e068ef602e79c4.tar.gz
fix: Systemd Loctaion Assest Environment
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0af28db0c29c..51a4b7ac892d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = xray-bin
pkgdesc = The best v2ray-core, with XTLS support.
pkgver = 1.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/XTLS/Xray-core
arch = x86_64
license = MPLv2
diff --git a/PKGBUILD b/PKGBUILD
index dd0d779f9ddc..5aeea1e78583 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=xray-bin
pkgver=1.0.0
-pkgrel=1
+pkgrel=2
pkgdesc="The best v2ray-core, with XTLS support."
arch=('x86_64')
url="https://github.com/XTLS/Xray-core"
@@ -31,6 +31,7 @@ sha512sums=(
prepare() {
cd $srcdir
sed -i 's|/usr/local/bin|/usr/bin|;s|/usr/local/etc|/etc|' systemd/system/*.service
+ sed -i '/ExecStart/i\Environment=XRAY_LOCATION_ASSET=/usr/share/v2ray' systemd/system/*.service
}