aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx/Scripts/wireshark-postinstall.sh
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-10-21 11:51:57 -0700
committerGuy Harris <guy@alum.mit.edu>2018-10-21 18:52:37 +0000
commit2d1ade6446be04b01218ede31088571d6d28f6a9 (patch)
tree36e730a0729be023485c5d45ba14df6cd8667493 /packaging/macosx/Scripts/wireshark-postinstall.sh
parentb51aafd77cd060a09bb01a2287a481ca43d1b95e (diff)
Get rid of a launchd daemon we no longer need.
Change-Id: Ic287d6d8a84876da10ca600ef3899b40c8f5663e Reviewed-on: https://code.wireshark.org/review/30310 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'packaging/macosx/Scripts/wireshark-postinstall.sh')
-rwxr-xr-xpackaging/macosx/Scripts/wireshark-postinstall.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/wireshark-postinstall.sh b/packaging/macosx/Scripts/wireshark-postinstall.sh
index e570fc8f57..a57690b622 100755
--- a/packaging/macosx/Scripts/wireshark-postinstall.sh
+++ b/packaging/macosx/Scripts/wireshark-postinstall.sh
@@ -40,3 +40,12 @@ then
mkdir -m u=rwx,g=rx,o=rx /etc/manpaths.d
fi
echo $WSMANPATH > /etc/manpaths.d/Wireshark
+
+#
+# Get rid of the old XQuartz fixer; we don't use X11, and haven't used
+# it since Wireshark 2.0, so we don't need it.
+#
+XQUARTZ_FIXER_PLIST="/Library/LaunchDaemons/org.wireshark.XQuartzFixer.plist"
+launchctl unload $XQUARTZ_FIXER_PLIST
+rm -rf /Library/Application Support/Wireshark/XQuartzFixer
+rm -f $XQUARTZ_FIXER_PLIST