From b6345137305e32442a14b16e2f9839732eff1dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonard=20K=C3=B6nig?= Date: Tue, 13 Apr 2021 21:18:58 +0200 Subject: [PATCH] options come before commands --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- service_sysdirs.patch | 4 ++-- systemd-config.patch | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c9a5dd8..f9df8f0 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = hide-client pkgdesc = Hide.me CLI VPN client for Linux pkgver = 0.9.1 - pkgrel = 3 + pkgrel = 4 url = hide.me arch = any license = GPL2 @@ -13,8 +13,8 @@ pkgbase = hide-client md5sums = 9346e79e8e1c98b5457a03e02febca9c md5sums = 3cca85f964053529bc7d6581ceb3abd7 md5sums = 07d59ac194c4aa8ee0de284283796461 - md5sums = 58efe83f8a4d181a788da86c24338b42 - md5sums = c19e92d773d241330b01fd83297cc94e + md5sums = cdd99adb78a8d0a5212e7f900fd53a6d + md5sums = ea50b6e6df86da7031cf72d8eaaf46a4 pkgname = hide-client diff --git a/PKGBUILD b/PKGBUILD index 8d4435e..1f1b172 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=hide-client _pkgname=hide.client.linux pkgver=0.9.1 -pkgrel=3 +pkgrel=4 epoch= pkgdesc="Hide.me CLI VPN client for Linux" arch=('any') @@ -31,8 +31,8 @@ noextract=() md5sums=('9346e79e8e1c98b5457a03e02febca9c' '3cca85f964053529bc7d6581ceb3abd7' '07d59ac194c4aa8ee0de284283796461' - '58efe83f8a4d181a788da86c24338b42' - 'c19e92d773d241330b01fd83297cc94e') + 'cdd99adb78a8d0a5212e7f900fd53a6d' + 'ea50b6e6df86da7031cf72d8eaaf46a4') validpgpkeys=() prepare() { diff --git a/service_sysdirs.patch b/service_sysdirs.patch index 885e98f..41d34b0 100644 --- a/service_sysdirs.patch +++ b/service_sysdirs.patch @@ -6,11 +6,11 @@ index b32902f..641241d 100644 [Service] Type=notify --ExecStart=/opt/hide.me/hide.me connect $OPTIONS %i +-ExecStart=/opt/hide.me/hide.me $OPTIONS connect %i -WorkingDirectory=/opt/hide.me -ReadWritePaths=/opt/hide.me /etc -EnvironmentFile=/opt/hide.me/config -+ExecStart=/usr/bin/hide.me connect $OPTIONS %i ++ExecStart=/usr/bin/hide.me $OPTIONS connect %i +WorkingDirectory=/usr/bin +ReadWritePaths=/etc +EnvironmentFile=/etc/hide.me/config diff --git a/systemd-config.patch b/systemd-config.patch index dda4247..c741a23 100644 --- a/systemd-config.patch +++ b/systemd-config.patch @@ -14,7 +14,7 @@ index b32902f..46b44ef 100644 [Service] Type=notify -ExecStart=/opt/hide.me/hide.me connect %i -+ExecStart=/opt/hide.me/hide.me connect $OPTIONS %i ++ExecStart=/opt/hide.me/hide.me $OPTIONS connect %i WorkingDirectory=/opt/hide.me ReadWritePaths=/opt/hide.me /etc +EnvironmentFile=/opt/hide.me/config