summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 619806e6fe..26608c96bf 100755
--- a/packaging/macosx/Scripts/wireshark-postinstall.sh
+++ b/packaging/macosx/Scripts/wireshark-postinstall.sh
@@ -18,3 +18,10 @@ for plugin in $PLUGINS
do
rm -f "$PLUGINS_PATH"/$plugin.so "$PLUGINS_PATH"/$plugin.la
done
+
+# Setting MANPATH
+# if /etc/manpaths.d/Wireshark already exists we overwrite it.
+#
+WSMANPATH="$2/Wireshark.app/Contents/Resources/share/man"
+
+echo $WSMANPATH > /etc/manpaths.d/Wireshark