VirtualBox

vbox的更動 31940 路徑 trunk/src/VBox/Installer/darwin


忽略:
時間撮記:
2010-8-24 下午08:05:59 (14 年 以前)
作者:
vboxsync
訊息:

Installer-OSX: install launchd description file for vboxwebsrv

位置:
trunk/src/VBox/Installer/darwin
檔案:
新增 1 筆資料
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Installer/darwin/DiskImage/VirtualBox_Uninstall.tool

    r31673 r31940  
    4848my_directories=""
    4949my_files=""
     50
     51# Users files first
     52test -f "${HOME}/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist"  && my_files="$my_files ${HOME}/Library/LaunchAgents/org.virtualbox.vboxwebsrv.plist"
    5053
    5154test -d /Library/StartupItems/VirtualBox/          && my_directories="$my_directories /Library/StartupItems/VirtualBox/"
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r31917 r31940  
    741741                $(if-expr defined(VBOX_WITH_PYTHON), $(addprefix $(VBOX_PATH_DIST)/, $(VBOX_DI_VBAPP_PYTHON_FILES)),) \
    742742                $(if-expr defined(VBOX_WITH_JXPCOM), $(addprefix $(VBOX_PATH_DIST)/, sdk/bindings/xpcom/java/vboxjxpcom.jar),) \
     743                $(if $(VBOX_WITH_WEBSERVICES),$(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxwebsrv.plist,) \
    743744                $(VBOX_DARWIN_INST_DEP_ON_MAKEFILE)
    744745        $(call MSG_TOOL,PackageMaker,,,$@)
     
    790791        $(foreach f, $(VBOX_INSTALL_LANG_FILES) \
    791792                ,$(INSTALL) -m 0644 $(VBOX_PATH_DIST)/VirtualBox.app/Contents/MacOS/nls/$(f)    $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/nls/$(f)$(NLTAB))
     793ifdef VBOX_WITH_WEBSERVICES
     794        $(INSTALL) -m 0644 $(VBOX_PATH_DI_SRC)/VirtualBox/org.virtualbox.vboxwebsrv.plist   $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/MacOS/
     795endif
    792796        @# Install the python stuff
    793797ifdef VBOX_WITH_PYTHON
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r31673 r31940  
    1212# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
    1313#
     14
     15CP="/bin/cp -f"
     16CPDIR="${CP} -R"
    1417
    1518#
     
    5962
    6063#
     64# Install the vboxweb service file for launchd
     65#
     66VBOXWEBSRV="${VBOX_INSTALL_PATH}/org.virtualbox.vboxwebsrv.plist"
     67VBOXWEBSRV_TRG="${HOME}/Library/LaunchAgents"
     68if [[ -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"
     72fi
     73
     74#
    6175# Install any custom files
    6276#
    63 CP="/bin/cp -f"
    64 CPDIR="${CP} -R"
    6577DATAPATH="`/usr/bin/dirname "${0}"`/../../../../../.."
    6678if [ -d "${DATAPATH}/.custom" ]; then
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette