summarylogtreecommitdiffstats
path: root/nordvpn-bin.install
diff options
context:
space:
mode:
authorMartoko2019-04-19 10:23:35 +0200
committerMartoko2019-04-19 10:23:35 +0200
commit514498eb3f9e389d56e2060979504ef1d9618112 (patch)
treefc60567740ae031bc0472a05108c2360c18799fa /nordvpn-bin.install
parent9a7a89b2dc19a6f24dfe48a4f80c24982f6c17a8 (diff)
downloadaur-514498eb3f9e389d56e2060979504ef1d9618112.tar.gz
Update to 3.0.0-4
Add dependency on iproute2 as it was added upstream Remove fix for systemd service file paths as upstream places them correctly now Nordvpnd has been split into two services Print message after install informing users about what services to start
Diffstat (limited to 'nordvpn-bin.install')
-rw-r--r--nordvpn-bin.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/nordvpn-bin.install b/nordvpn-bin.install
new file mode 100644
index 000000000000..d3de5a7b4358
--- /dev/null
+++ b/nordvpn-bin.install
@@ -0,0 +1,13 @@
+post_install() {
+ echo ':: In order to enable nordvpn you have to start two services:'
+ echo ' sudo systemctl enable --now nordvpnsd'
+ echo ' systemctl --user enable --now nordvpnud'
+}
+
+post_upgrade() {
+ if [ $(vercmp $2 3.0.0-4) -lt 0 ]; then
+ echo ':: In order to enable nordvpn you have to start two services:'
+ echo ' sudo systemctl enable --now nordvpnsd'
+ echo ' systemctl --user enable --now nordvpnud'
+ fi
+}