diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | nordvpn-bin.install | 10 |
3 files changed, 12 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = nordvpn-bin pkgdesc = NordVPN CLI tool for Linux pkgver = 3.8.8 - pkgrel = 1 + pkgrel = 2 url = https://nordvpn.com/download/linux/ install = nordvpn-bin.install arch = x86_64 @@ -4,7 +4,7 @@ pkgname=nordvpn-bin pkgver=3.8.8 -pkgrel=1 +pkgrel=2 pkgdesc="NordVPN CLI tool for Linux" arch=('x86_64' 'i686' 'armv7h' 'aarch64') url="https://nordvpn.com/download/linux/" diff --git a/nordvpn-bin.install b/nordvpn-bin.install index 0400c445c8b4..3437389789c9 100644 --- a/nordvpn-bin.install +++ b/nordvpn-bin.install @@ -1,6 +1,16 @@ post_install() { echo ':: In order to enable nordvpn you have to start the following service:' echo ' sudo systemctl enable --now nordvpnd' + echo ':: You have to add yourself to the nordvpn group to use it:' + echo " gpasswd -a USERNAME nordvpn" +} + +pre_install() { + chattr -i /var/lib/nordvpn/data/* +} + +pre_upgrade() { + chattr -i /var/lib/nordvpn/data/* } pre_remove() { |