diff options
Diffstat (limited to 'packaging/macosx/path_helper/uninstall-scripts/postinstall')
-rwxr-xr-x | packaging/macosx/path_helper/uninstall-scripts/postinstall | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/macosx/path_helper/uninstall-scripts/postinstall b/packaging/macosx/path_helper/uninstall-scripts/postinstall new file mode 100755 index 0000000..5575bde --- /dev/null +++ b/packaging/macosx/path_helper/uninstall-scripts/postinstall @@ -0,0 +1,11 @@ +#!/bin/sh + +# +# Remove the Wireshark paths.d and manpaths.d entries. +# + +rm -f /private/etc/paths.d/Wireshark +rm -f /private/etc/manpaths.d/Wireshark + +# https://gitlab.com/wireshark/wireshark/-/issues/18734 +pkgutil --forget org.wireshark.path_helper.pkg |