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:
parent
38682523f9
commit
fb9ce2796c
|
@ -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.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue