aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/macosx/Scripts/cli-postinstall.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-12 20:38:58 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-12 20:38:58 +0000
commit30bdf66b1f16ffbd0266083b8e770128aff8f759 (patch)
tree78569744ac0e19d1fc6d1638520fac7a1e14eb27 /packaging/macosx/Scripts/cli-postinstall.sh
parent4525c6479728e624bf756053fa39e02a470f0b59 (diff)
Fix permissions for installed OS X files and directories.
Add a cli-preinstall script that creates missing parts of the installation path and sets their permissions. Simply copy "utility-launcher" to "wireshark" instead of renaming it at install time. Explicitly set its ownership and permissions. Pretty-print some of the PackageMaker XML files via `xmllint --format --recover`. svn path=/trunk/; revision=53281
Diffstat (limited to 'packaging/macosx/Scripts/cli-postinstall.sh')
-rwxr-xr-xpackaging/macosx/Scripts/cli-postinstall.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/packaging/macosx/Scripts/cli-postinstall.sh b/packaging/macosx/Scripts/cli-postinstall.sh
index ce85c03768..f83cf4faac 100755
--- a/packaging/macosx/Scripts/cli-postinstall.sh
+++ b/packaging/macosx/Scripts/cli-postinstall.sh
@@ -15,9 +15,8 @@ BINARIES="
cd "$CLI_PATH"
-rm -f ./wireshark
-mv utility-launcher wireshark
chmod 755 wireshark
+chown root:wheel wireshark
for BIN in $BINARIES ; do
rm -f ./"$BIN"