Files
nordvpn-bin/nordvpn-bin.install
2019-05-19 14:47:50 +02:00

14 lines
448 B
Plaintext

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-1) -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
}