summarylogtreecommitdiffstats
path: root/nordvpn-bin.install
blob: d3de5a7b435879345fb0f7c58d8dc3a628028046 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
}