aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx/Scripts/wireshark-postinstall.sh
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2018-02-23 14:16:46 -0800
committerGuy Harris <guy@alum.mit.edu>2018-02-23 22:17:26 +0000
commitc3c053ba1c9e7c7a6f4b446e742ad5ca3e04e097 (patch)
tree1cb25202fe5fac72c4131e0843328bed28c4e63a /packaging/macosx/Scripts/wireshark-postinstall.sh
parent53744af1821137df82ba415524e3ec9fa2f605e1 (diff)
Get rid of the ipmap.html that got dropped into Contents/MacOS.
Change-Id: Ieb94ca78a92fc5369fe3b396373c2f7a31d8894a Reviewed-on: https://code.wireshark.org/review/26072 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'packaging/macosx/Scripts/wireshark-postinstall.sh')
-rwxr-xr-xpackaging/macosx/Scripts/wireshark-postinstall.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/wireshark-postinstall.sh b/packaging/macosx/Scripts/wireshark-postinstall.sh
index e570fc8f57..3ab2576de8 100755
--- a/packaging/macosx/Scripts/wireshark-postinstall.sh
+++ b/packaging/macosx/Scripts/wireshark-postinstall.sh
@@ -19,6 +19,13 @@ do
rm -f "$PLUGINS_PATH"/$plugin.so "$PLUGINS_PATH"/$plugin.la
done
+#
+# Get rid of any ipmap.html file that was dropped into Contents/MacOS;
+# it belongs in, and is installed in, Contents/Resources/share/wireshark,
+# and we don't need the extra copy.
+#
+rm -f "$2/Wireshark.app/Contents/MacOS/ipmap.html"
+
# Setting PATH
# if /etc/paths.d/Wireshark already exists we overwrite it.
#