VirtualBox

Changeset 44966 in vbox for trunk/src/VBox/Installer/linux


Ignore:
Timestamp:
Mar 11, 2013 9:00:43 AM (12 years ago)
Author:
vboxsync
Message:

Installer/linux: fix r83769 and VBox.sh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/VBox.sh

    r44674 r44966  
    1717CONFIG="/etc/vbox/vbox.cfg"
    1818
    19 if test -r "${CONFIG}"; then
     19test -r "${CONFIG}" &&
    2020    . "${CONFIG}"
    21 elif test -f /usr/lib/virtualbox/VirtualBox &&
    22     test -x /usr/lib/virtualbox/VirtualBox; then
    23     INSTALL_DIR=/usr/lib/virtualbox
    24 else
    25     echo "Could not find VirtualBox installation. Please reinstall."
    26     exit 1
    27 fi
     21test -z "${INSTALL_DIR}" &&
     22    if test -f /usr/lib/virtualbox/VirtualBox &&
     23        test -x /usr/lib/virtualbox/VirtualBox; then
     24        INSTALL_DIR=/usr/lib/virtualbox
     25    else
     26        echo "Could not find VirtualBox installation. Please reinstall."
     27        exit 1
     28    fi
    2829
    2930# Note: This script must not fail if the module was not successfully installed
Note: See TracChangeset for help on using the changeset viewer.

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