summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorPete Alexandrou2017-05-07 17:12:24 +0800
committerPete Alexandrou2017-05-07 17:12:24 +0800
commit6047486e93af88bc7a129455ccad98169b312802 (patch)
treea88e71fc6e87cce0b95459c518889b49ed9d99e5 /PKGBUILD
parent45295d25485489f6b2e44c1bed4ab80be1b42174 (diff)
downloadaur-6047486e93af88bc7a129455ccad98169b312802.tar.gz
bump
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 7861f9f409fb..756b2d9846b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=openvpn-xor-git
_pkgname=openvpn
pkgver=2.4.1
-pkgrel=4
+pkgrel=5
pkgdesc='OpenVPN with XOR patch to bypass DPI monitoring in places like China (also known as OpenVPN stealth/scramble mode)'
arch=('i686' 'x86_64')
url='https://github.com/openvpn/openvpn'
@@ -95,8 +95,8 @@ package() {
done
# enable scheduling priority changes (nice)
- sed -i '14s/$/ CAP_SYS_NICE/' ${pkgdir}/usr/lib/systemd/system/${_pkgname}-client@.service
- sed -i '15s/$/ CAP_SYS_NICE/' ${pkgdir}/usr/lib/systemd/system/${_pkgname}-server@.service
+ sed -i '14s/$/ CAP_SYS_NICE/' "distro/systemd/${_pkgname}-client@.service"
+ sed -i '15s/$/ CAP_SYS_NICE/' "distro/systemd/${_pkgname}-server@.service"
# Install systemd files
install -D -m0644 distro/systemd/${_pkgname}-client@.service ${pkgdir}/usr/lib/systemd/system/${_pkgname}-client@.service