Add the directory containing the executables to a file in /etc/paths.d.

Do for executables what we do for man pages.

Change-Id: I066f0199fd6064cae21e6ad079a1f344e1002c66
Reviewed-on: https://code.wireshark.org/review/18205
Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
Guy Harris 2016-10-15 01:07:44 -07:00
parent 38682523f9
commit fb9ce2796c
1 changed files with 7 additions and 0 deletions

View File

@ -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.
#