summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartoko2020-12-20 10:16:21 +0100
committerMartoko2020-12-20 10:16:21 +0100
commitd7dbd60471a100385c991cb6ecc20055c140dc46 (patch)
tree349416b3b7bd746db44e3fd021f1d15a382a5424
parent4e3a89a3ba2e47ec14f484683c76721f8ffd5856 (diff)
downloadaur-d7dbd60471a100385c991cb6ecc20055c140dc46.tar.gz
Also display helpful notes on upgrade/reinstall
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD2
-rw-r--r--nordvpn-bin.install11
3 files changed, 12 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fe86a48ec957..28823854bc84 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nordvpn-bin
pkgdesc = NordVPN CLI tool for Linux
pkgver = 3.8.8
- pkgrel = 3
+ pkgrel = 4
url = https://nordvpn.com/download/linux/
install = nordvpn-bin.install
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 5d0448bcff39..9da63275543e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=nordvpn-bin
pkgver=3.8.8
-pkgrel=3
+pkgrel=4
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 a0e7a7b85da1..206594441336 100644
--- a/nordvpn-bin.install
+++ b/nordvpn-bin.install
@@ -2,7 +2,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:'
- echo " gpasswd -a USERNAME nordvpn"
+ echo " sudo gpasswd -a USERNAME nordvpn"
+ echo ':: You then have to restart for the group to be created:'
+ echo " reboot"
+}
+
+post_upgrade() {
+ 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:'
+ echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
}