diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-01-04 00:07:46 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-01-04 08:10:12 +0000 |
commit | 880580c252f722c993585670ce003dd8a1f95757 (patch) | |
tree | 95ca87370893ee7d7a2a3eb9665081773f78a16f /packaging/macosx/Scripts/wireshark-postinstall.sh | |
parent | 3fae1366d1041c3591a919ce91aed27f983715a9 (diff) |
Create the Content/Resources/bin directory if necessary.
Bug: 13270
Change-Id: Idc4223a24d6d2037d13a85331ce63e5a24168d3a
Reviewed-on: https://code.wireshark.org/review/19533
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'packaging/macosx/Scripts/wireshark-postinstall.sh')
-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 |