Move systemd stuff out of pre-deinstall
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#!/bin/sh
|
||||
set -eu
|
||||
|
||||
# Overwrite the cached relay list with the one embedded in the package.
|
||||
mkdir /var/cache/mullvad-vpn
|
||||
cp /usr/share/mullvad-vpn/relays.json /var/cache/mullvad-vpn/relays.json
|
||||
# Overwrite the cached relay list with the vendored one.
|
||||
mkdir -p /var/cache/mullvad-vpn \
|
||||
&& cp /usr/share/mullvad-vpn/relays.json /var/cache/mullvad-vpn/relays.json \
|
||||
|| echo "failed to install /var/cache/mullvad-vpn/relays.json"
|
||||
|
||||
Reference in New Issue
Block a user