Changeset 31940 in vbox for trunk/src/VBox/Installer/darwin/VirtualBox
- Timestamp:
- Aug 24, 2010 8:05:59 PM (14 years ago)
- Location:
- trunk/src/VBox/Installer/darwin/VirtualBox
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/darwin/VirtualBox/postflight
r31673 r31940 12 12 # hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 13 13 # 14 15 CP="/bin/cp -f" 16 CPDIR="${CP} -R" 14 17 15 18 # … … 59 62 60 63 # 64 # Install the vboxweb service file for launchd 65 # 66 VBOXWEBSRV="${VBOX_INSTALL_PATH}/org.virtualbox.vboxwebsrv.plist" 67 VBOXWEBSRV_TRG="${HOME}/Library/LaunchAgents" 68 if [[ -e "${VBOXWEBSRV}" && -e "${VBOXWEBSRV_TRG}" ]]; then 69 echo "Installing vboxwebsrv launchd file to ${VBOXWEBSRV_TRG}" 70 ${CP} "${VBOXWEBSRV}" "${VBOXWEBSRV_TRG}/" 71 /usr/sbin/chown `/usr/bin/stat -f"%u" "${HOME}"` "${VBOXWEBSRV_TRG}/org.virtualbox.vboxwebsrv.plist" 72 fi 73 74 # 61 75 # Install any custom files 62 76 # 63 CP="/bin/cp -f"64 CPDIR="${CP} -R"65 77 DATAPATH="`/usr/bin/dirname "${0}"`/../../../../../.." 66 78 if [ -d "${DATAPATH}/.custom" ]; then
Note:
See TracChangeset
for help on using the changeset viewer.