aboutsummaryrefslogtreecommitdiff
path: root/network/nordvpn
diff options
context:
space:
mode:
authorReza Talebi <reza.talebi.73@outlook.com>2019-09-07 08:43:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-09-07 08:43:00 +0700
commit6fc412b767e915fa1cfa9dae37204e15e0405427 (patch)
tree9e853ffba36b79596a3a89cb56a6588ae72a1a61 /network/nordvpn
parenta74b96f9ddec47a9cb20ef758272dcf537833191 (diff)
network/nordvpn: Updated for version 3.3.1-2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/nordvpn')
-rw-r--r--network/nordvpn/doinst.sh4
-rw-r--r--network/nordvpn/nordvpn.SlackBuild4
-rw-r--r--network/nordvpn/nordvpn.info6
3 files changed, 9 insertions, 5 deletions
diff --git a/network/nordvpn/doinst.sh b/network/nordvpn/doinst.sh
index 1b37a9827f446..3f2e7491ca574 100644
--- a/network/nordvpn/doinst.sh
+++ b/network/nordvpn/doinst.sh
@@ -7,3 +7,7 @@ if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
/usr/bin/gtk-update-icon-cache -f usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
+
+if [ -x /etc/rc.d/rc.nordvpn ]; then
+ /etc/rc.d/rc.nordvpn restart
+fi
diff --git a/network/nordvpn/nordvpn.SlackBuild b/network/nordvpn/nordvpn.SlackBuild
index 717dc26a5c198..bf879c2b9b140 100644
--- a/network/nordvpn/nordvpn.SlackBuild
+++ b/network/nordvpn/nordvpn.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=nordvpn
VERSION=${VERSION:-3.3.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,7 +73,7 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
mkdir -p $PKG/etc/rc.d/
-cat $CWD/rc.nordvpn > $PKG/etc/rc.d/rc.nordvpn
+cp $CWD/rc.nordvpn $PKG/etc/rc.d/rc.nordvpn
cd $PKG
/sbin/makepkg -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/network/nordvpn/nordvpn.info b/network/nordvpn/nordvpn.info
index 248c8550ccce0..595fb0ebe01ea 100644
--- a/network/nordvpn/nordvpn.info
+++ b/network/nordvpn/nordvpn.info
@@ -1,10 +1,10 @@
PRGNAM="nordvpn"
-VERSION="3.3.1-1"
+VERSION="3.3.1-2"
HOMEPAGE="https://www.nordvpn.com/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://repo.nordvpn.com/yum/nordvpn/centos/x86_64/Packages/n/nordvpn-3.3.1-1.x86_64.rpm"
-MD5SUM_x86_64="114F64009DD791DC829E2B4D55A9F47D"
+DOWNLOAD_x86_64="https://repo.nordvpn.com/yum/nordvpn/centos/x86_64/Packages/n/nordvpn-3.3.1-2.x86_64.rpm"
+MD5SUM_x86_64="F4BCEB9BABA7E9CC1AD0728FCBC0D461"
REQUIRES=""
MAINTAINER="Reza Talebi"
EMAIL="reza.talebi.73@outlook.com"