summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls Piņķis <emils@mullvad.net>2019-04-25 13:36:39 +0100
committerEmīls Piņķis <emils@mullvad.net>2019-04-25 13:36:39 +0100
commit5eedc4586045fe8aa6197fd22f3daf338c29c3df (patch)
tree65706d3dc0ab43f1c49dab809d720bbefa8b8bf1
parent760a556c7cc62c634603f3b037c3dd7bf6fa6af3 (diff)
downloadmullvadvpn-5eedc4586045fe8aa6197fd22f3daf338c29c3df.tar.xz
mullvadvpn-5eedc4586045fe8aa6197fd22f3daf338c29c3df.zip
Remove relay-clearing code from preinstall scripts
-rw-r--r--dist-assets/linux/before-install.sh3
-rwxr-xr-xdist-assets/pkg-scripts/preinstall3
2 files changed, 0 insertions, 6 deletions
diff --git a/dist-assets/linux/before-install.sh b/dist-assets/linux/before-install.sh
index 9397e8b832..2c940688b2 100644
--- a/dist-assets/linux/before-install.sh
+++ b/dist-assets/linux/before-install.sh
@@ -7,6 +7,3 @@ if which systemctl &> /dev/null; then
systemctl disable mullvad-daemon.service
fi
fi
-
-#TODO: Remove after releasing 2019.2
-rm /var/cache/mullvad-vpn/relays.json || true
diff --git a/dist-assets/pkg-scripts/preinstall b/dist-assets/pkg-scripts/preinstall
index 374ccc2e2c..0b243f255b 100755
--- a/dist-assets/pkg-scripts/preinstall
+++ b/dist-assets/pkg-scripts/preinstall
@@ -75,6 +75,3 @@ if [ -d "$OLD_CACHE_DIR" ]; then
mv "$OLD_CACHE_DIR"/* "$NEW_CACHE_DIR/" || echo "Unable to migrate cache. No cache files?"
rm -rf "$OLD_CACHE_DIR"
fi
-
-# TODO: Remove after 2019.2 has been released
-rm "$NEW_CACHE_DIR/relays.json" || echo "Unable to remove old relay list"