VirtualBox

Ignore:
Timestamp:
Jul 24, 2013 10:16:08 AM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87512
Message:

OS X installer: more checks for preinstall and postflight scripts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/VirtualBox/postflight

    r47362 r47366  
    1515CP="/bin/cp -f"
    1616CPDIR="${CP} -R"
    17 
    18 #
    19 # Correct the ownership of the directories in case there
    20 # was an existing installation.
    21 #
    22 chown -R root:admin /Applications/VirtualBox.app
    2317
    2418#
     
    9185fi
    9286
     87# Check environment.
     88if [ "${INSTALLER_TEMP}x" == "x" ]; then
     89    echo "Required environment variable INSTALLER_TEMP is missing. Aborting installation."
     90    exit 1;
     91fi
     92
    9393# Restore previously installed Extension Packs (if any)
    9494if [ -d "${INSTALLER_TEMP}/ExtensionPacks" ]; then
     
    9797fi
    9898
     99#
     100# Correct the ownership of the directories in case there
     101# was an existing installation.
     102#
     103chown -R root:admin /Applications/VirtualBox.app
     104
    99105exit 0;
Note: See TracChangeset for help on using the changeset viewer.

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