mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
21 lines
658 B
Bash
Executable File
21 lines
658 B
Bash
Executable File
#!/bin/bash
|
|
|
|
INSTALL_PKG=$1
|
|
INSTALL_DEST=$2
|
|
INSTALL_VOL=$3
|
|
INSTALL_ROOT=$4
|
|
|
|
# Change owner/group of app bundle
|
|
chown -R root:admin ${INSTALL_DEST}/Applications/Mumble.app/
|
|
chown -R root:admin ${INSTALL_DEST}/Applications/Mumble11x.app/
|
|
|
|
# If we installed with an input manager, change the perms accordingly.
|
|
OVERLAY_PATH=${INSTALL_DEST}/Library/InputManagers/MumbleOverlayEnabler/
|
|
if [ -d $OVERLAY_PATH ]; then
|
|
chown -vR root:admin ${OVERLAY_PATH}
|
|
chmod -vR 755 ${OVERLAY_PATH}
|
|
chmod 444 ${OVERLAY_PATH}/Info
|
|
chmod 444 ${OVERLAY_PATH}/MumbleOverlayEnabler.bundle/Contents/Info.plist
|
|
chmod 444 ${OVERLAY_PATH}/MumbleOverlay.bundle/Contents/Info.plist
|
|
fi
|