Update to 3.1.0-4
Add pre_remove hook to fix attributes for data files. This is dirty, but it is how nordvpn does upstream too. Adjust PKGBUILD as there is now only 1 systemd service again. Do not ship with the SysV files as arch is a systemd distro.
This commit is contained in:
@@ -1,13 +1,8 @@
|
||||
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'
|
||||
echo ':: In order to enable nordvpn you have to start the following service:'
|
||||
echo ' sudo systemctl enable --now nordvpnd'
|
||||
}
|
||||
|
||||
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
|
||||
pre_remove() {
|
||||
chattr -i /var/lib/nordvpn/data/*
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user