diff options
-rwxr-xr-x | packaging/macosx/Scripts/wireshark-postinstall.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/wireshark-postinstall.sh b/packaging/macosx/Scripts/wireshark-postinstall.sh index 26608c96bf..3963a43724 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 +# Setting PATH +# if /etc/paths.d/Wireshark already exists we overwrite it. +# +WSPATH="$2/Wireshark.app/Contents/MacOS" + +echo $WSPATH > /etc/paths.d/Wireshark + # Setting MANPATH # if /etc/manpaths.d/Wireshark already exists we overwrite it. # |