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
This commit is contained in:
Martoko
2019-04-19 10:23:35 +02:00
parent 9a7a89b2dc
commit 514498eb3f
3 changed files with 24 additions and 12 deletions

13
nordvpn-bin.install Normal file
View File

@@ -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
}