summarylogtreecommitdiffstats
path: root/nordvpn-bin.install
diff options
context:
space:
mode:
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
+}