|author||Guy Harris <firstname.lastname@example.org>||2017-01-04 00:07:46 -0800|
|committer||Guy Harris <email@example.com>||2017-01-04 08:10:12 +0000|
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 <firstname.lastname@example.org>
Diffstat (limited to 'packaging')
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/macosx/Scripts/wireshark-postinstall.sh b/packaging/macosx/Scripts/wireshark-postinstall.sh
index 7982fea..2e1d616 100755
@@ -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" ]
+ mkdir -m u=rwx,g=rx,o=rx "$BIN_PATH"
for i in capinfos dftest dumpcap editcap mergecap randpkt rawshark \