|author||Guy Harris <firstname.lastname@example.org>||2018-02-23 14:16:46 -0800|
|committer||Guy Harris <email@example.com>||2018-02-23 22:17:26 +0000|
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 <firstname.lastname@example.org>
Diffstat (limited to 'packaging')
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
@@ -19,6 +19,13 @@ do
rm -f "$PLUGINS_PATH"/$plugin.so "$PLUGINS_PATH"/$plugin.la
+# 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.