Open Moulick opened 2 months ago
Facing same issue. Any workaround to resolve this?
@TheNaman047 Use the brew installation if you can, that will do the cleanup properly. You can see the linked PR above.
Yaa thanks, I checked the diff and removed the file from the path
Is it a bug?
I have checked if others have reported this already
Current Behavior
The
postinstall
script in mullvad macos .pkg makes a symlink for zsh and fish shell completion.ln -sf "$INSTALL_DIR/Mullvad VPN.app/Contents/Resources/_mullvad" "$ZSH_COMPLETIONS_DIR/_mullvad"
This symlink is not removed when uninstalling the app. This causes errors in compinitcompinit:527: no such file or directory: /usr/local/share/zsh/site-functions/_mullvad
Expected Behavior
Uninstalling should remove zsh and fish shell completion symlink
Steps to Reproduce
rm -f ~/.zcompdump ~/.zcompdump.zwc
compinit
Failure Logs
Operating system version
MacOS 14.5
Mullvad VPN app version
Looking at the git history, it's been here since 4 years
Additional Information
https://github.com/mullvad/mullvadvpn-app/blame/966a56cb87744651f7716bdae2e590d34ecb03b0/dist-assets/pkg-scripts/postinstall#L101