Also display helpful notes on upgrade/reinstall
This commit is contained in:
2
.SRCINFO
2
.SRCINFO
@@ -1,7 +1,7 @@
|
|||||||
pkgbase = nordvpn-bin
|
pkgbase = nordvpn-bin
|
||||||
pkgdesc = NordVPN CLI tool for Linux
|
pkgdesc = NordVPN CLI tool for Linux
|
||||||
pkgver = 3.8.8
|
pkgver = 3.8.8
|
||||||
pkgrel = 3
|
pkgrel = 4
|
||||||
url = https://nordvpn.com/download/linux/
|
url = https://nordvpn.com/download/linux/
|
||||||
install = nordvpn-bin.install
|
install = nordvpn-bin.install
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
|||||||
2
PKGBUILD
2
PKGBUILD
@@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
pkgname=nordvpn-bin
|
pkgname=nordvpn-bin
|
||||||
pkgver=3.8.8
|
pkgver=3.8.8
|
||||||
pkgrel=3
|
pkgrel=4
|
||||||
pkgdesc="NordVPN CLI tool for Linux"
|
pkgdesc="NordVPN CLI tool for Linux"
|
||||||
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
|
arch=('x86_64' 'i686' 'armv7h' 'aarch64')
|
||||||
url="https://nordvpn.com/download/linux/"
|
url="https://nordvpn.com/download/linux/"
|
||||||
|
|||||||
@@ -2,7 +2,16 @@ post_install() {
|
|||||||
echo ':: In order to enable nordvpn you have to start the following service:'
|
echo ':: In order to enable nordvpn you have to start the following service:'
|
||||||
echo ' sudo systemctl enable --now nordvpnd'
|
echo ' sudo systemctl enable --now nordvpnd'
|
||||||
echo ':: You have to add yourself to the nordvpn group:'
|
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 ':: You then have to restart for the group to be created:'
|
||||||
echo " reboot"
|
echo " reboot"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user