diff options
Diffstat (limited to 'packaging')
-rwxr-xr-x | packaging/macosx/Scripts/wireshark-postinstall.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/wireshark-postinstall.sh b/packaging/macosx/Scripts/wireshark-postinstall.sh index 7982fea731..2e1d616361 100755 --- a/packaging/macosx/Scripts/wireshark-postinstall.sh +++ b/packaging/macosx/Scripts/wireshark-postinstall.sh @@ -24,6 +24,10 @@ BIN_PATH="$2/Wireshark.app/Contents/Resources/bin" # For some reason, packagemaker isn't including Contents/Resources/bin # in the app bundle, so let's just construct it ourselves. # +if [ ! -d "$BIN_PATH" ] +then + mkdir -m u=rwx,g=rx,o=rx "$BIN_PATH" +fi for i in capinfos dftest dumpcap editcap mergecap randpkt rawshark \ tshark text2pcap do |