Minor fix in .install script

This commit is contained in:
Martoko
2019-05-19 14:47:50 +02:00
parent b5a02df89f
commit cbe7fa2d48
3 changed files with 15 additions and 6 deletions

View File

@@ -1,10 +1,13 @@
pkgbase = nordvpn-bin pkgbase = nordvpn-bin
pkgdesc = NordVPN CLI tool for Linux pkgdesc = NordVPN CLI tool for Linux
pkgver = 3.0.0_4 pkgver = 3.0.1_1
pkgrel = 1 pkgrel = 2
url = https://nordvpn.com/download/linux/ url = https://nordvpn.com/download/linux/
install = nordvpn-bin.install install = nordvpn-bin.install
arch = i686
arch = x86_64 arch = x86_64
arch = armv7h
arch = aarch64
license = custom license = custom
depends = net-tools depends = net-tools
depends = libxslt depends = libxslt
@@ -13,8 +16,14 @@ pkgbase = nordvpn-bin
depends = iproute2 depends = iproute2
provides = nordvpn provides = nordvpn
conflicts = openvpn-nordvpn conflicts = openvpn-nordvpn
source = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.0.0-4_amd64.deb source_i686 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.0.1-1_i386.deb
sha256sums = a4a9602a9ecc1b29eb4ef9667993bd68999f42fc1962588951845a797d31ecfa sha256sums_i686 = 300c396d73ff7f779c776cdee4e3ff4078c712c11f29e2763f352dbae19566ac
source_x86_64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.0.1-1_amd64.deb
sha256sums_x86_64 = 51b70b8af4593aa268fc3f51260351dcf44510a82f02c63d7f312441f19aa992
source_armv7h = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.0.1-1_armhf.deb
sha256sums_armv7h = dce7aa7b7777206e4bb996ae96b76add658e11beabad35330876280b20fb146c
source_aarch64 = https://repo.nordvpn.com/deb/nordvpn/debian/pool/main/nordvpn_3.0.1-1_aarch64.deb
sha256sums_aarch64 = e526eef4a8c67a5dff7ba163e8909feedda14b9750f6f642dc3cecb285127503
pkgname = nordvpn-bin pkgname = nordvpn-bin

View File

@@ -4,7 +4,7 @@
pkgname=nordvpn-bin pkgname=nordvpn-bin
pkgver=3.0.1_1 pkgver=3.0.1_1
pkgrel=1 pkgrel=2
pkgdesc="NordVPN CLI tool for Linux" pkgdesc="NordVPN CLI tool for Linux"
arch=('i686' 'x86_64' 'armv7h' 'aarch64' ) arch=('i686' 'x86_64' 'armv7h' 'aarch64' )
url="https://nordvpn.com/download/linux/" url="https://nordvpn.com/download/linux/"

View File

@@ -5,7 +5,7 @@ post_install() {
} }
post_upgrade() { post_upgrade() {
if [ $(vercmp $2 3.0.0-4) -lt 0 ]; then if [ $(vercmp $2 3.0.0_4-1) -lt 0 ]; then
echo ':: In order to enable nordvpn you have to start two services:' echo ':: In order to enable nordvpn you have to start two services:'
echo ' sudo systemctl enable --now nordvpnsd' echo ' sudo systemctl enable --now nordvpnsd'
echo ' systemctl --user enable --now nordvpnud' echo ' systemctl --user enable --now nordvpnud'