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.
9 lines
204 B
Plaintext
9 lines
204 B
Plaintext
post_install() {
|
|
echo ':: In order to enable nordvpn you have to start the following service:'
|
|
echo ' sudo systemctl enable --now nordvpnd'
|
|
}
|
|
|
|
pre_remove() {
|
|
chattr -i /var/lib/nordvpn/data/*
|
|
}
|