more work on install scripts

This commit is contained in:
2026-04-23 11:25:01 +02:00
parent 53e97a6dc2
commit e11ee801ee
5 changed files with 51 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
#!/usr/bin/env bash
set -eu
echo "mullvad post-install"
# Overwrite the cached relay list with the one embedded in the package.
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"