summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2019-10-09 12:58:22 +0200
committerLinus Färnstrand <linus@mullvad.net>2019-10-09 16:50:06 +0200
commit76f0d0e834b3bd5f8f1db5625233dd0fcffc6c03 (patch)
tree318b9728ab49edae4b87f3f8bda910aad33be2c3
parent6bb0afe27f8283fda1a3716a778a25b26781b198 (diff)
downloadmullvadvpn-76f0d0e834b3bd5f8f1db5625233dd0fcffc6c03.tar.xz
mullvadvpn-76f0d0e834b3bd5f8f1db5625233dd0fcffc6c03.zip
Remove symlinks on macOS on uninstall
-rwxr-xr-xdist-assets/uninstall_macos.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/dist-assets/uninstall_macos.sh b/dist-assets/uninstall_macos.sh
index e2564c544b..aec74760b4 100755
--- a/dist-assets/uninstall_macos.sh
+++ b/dist-assets/uninstall_macos.sh
@@ -22,6 +22,9 @@ echo "Removing app from /Applications ..."
sudo rm -rf /Applications/Mullvad\ VPN.app
sudo pkgutil --forget net.mullvad.vpn || true
+echo "Removing CLI symlinks from /usr/local/bin/ ..."
+sudo rm -f /usr/local/bin/mullvad /usr/local/bin/mullvad-problem-report
+
read -p "Do you want to delete the log and cache files the app has created? (y/n) "
if [[ "$REPLY" =~ [Yy]$ ]]; then
sudo rm -rf /var/log/mullvad-vpn /var/root/Library/Caches/mullvad-vpn