From 880580c252f722c993585670ce003dd8a1f95757 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Wed, 4 Jan 2017 00:07:46 -0800 Subject: 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 --- packaging/macosx/Scripts/wireshark-postinstall.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'packaging') 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 -- cgit v1.2.1