diff options
| author | David Lönnhager <david.l@mullvad.net> | 2022-12-19 16:44:01 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2022-12-19 16:44:01 +0100 |
| commit | cac19a4771b1b2dbffdd3e522fa0d6fae2192c91 (patch) | |
| tree | aba2f6bf268330a199381ba38cd0272df1d7c3b3 | |
| parent | f7256e67876ad579fed80edcdeec69a9f97a97ce (diff) | |
| parent | 990180cb3b434eb2cc94c71c7ef7f77ab5b7957d (diff) | |
| download | mullvadvpn-cac19a4771b1b2dbffdd3e522fa0d6fae2192c91.tar.xz mullvadvpn-cac19a4771b1b2dbffdd3e522fa0d6fae2192c91.zip | |
Merge branch 'macos-fix-fish-uninstall'
| -rwxr-xr-x | dist-assets/uninstall_macos.sh | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/dist-assets/uninstall_macos.sh b/dist-assets/uninstall_macos.sh index 316c1d0f12..9bcef0c5c3 100755 --- a/dist-assets/uninstall_macos.sh +++ b/dist-assets/uninstall_macos.sh @@ -30,13 +30,8 @@ sudo rm -f /usr/local/share/zsh/site-functions/_mullvad echo "Removing fish shell completion symlink ..." -BREW_PREFIX=$(brew --prefix) -if [[ "$?" -eq 0 ]]; then - FISH_COMPLETIONS_PATH="${BREW_PREFIX}/share/fish/vendor_completions.d/mullvad.fish" - sudo rm -f "$FISH_COMPLETIONS_PATH" -fi -FISH_COMPLETIONS_PATH="/usr/local/share/fish/vendor_completions.d/mullvad.fish" -sudo rm -f "$FISH_COMPLETIONS_PATH" +sudo rm -f "/opt/homebrew/share/fish/vendor_completions.d/mullvad.fish" +sudo rm -f "/usr/local/share/fish/vendor_completions.d/mullvad.fish" echo "Removing CLI symlinks from /usr/local/bin/ ..." sudo rm -f /usr/local/bin/mullvad /usr/local/bin/mullvad-problem-report |
