Files
nordvpn-bin/nordvpn-bin.install

30 lines
892 B
Plaintext

post_install() {
echo ':: In order to enable nordvpn you have to start the following service:'
echo ' sudo systemctl enable --now nordvpnd'
echo ':: You have to add yourself to the nordvpn group:'
echo " sudo gpasswd -a USERNAME nordvpn"
echo ':: You then have to restart for the group to be created:'
echo " reboot"
}
post_upgrade() {
echo ':: Caution! This version needs heed while using it and should be avoided.'
echo ' I strongly advice downgrading to 3.17.2 and wait for a new version or patching.'
echo ':: 3.17.3v has DNS LEAK and it is unable to connect as usual.'
echo ' See the currently version note on AUR page for details.'
}
pre_install() {
if [ -d /var/lib/nordvpn/data/ ]; then
chattr -i /var/lib/nordvpn/data/*
fi
}
pre_upgrade() {
chattr -i /var/lib/nordvpn/data/*
}
pre_remove() {
chattr -i /var/lib/nordvpn/data/*
}