VirtualBox

Changeset 44916 in vbox for trunk/src/VBox/Installer


Ignore:
Timestamp:
Mar 5, 2013 9:53:45 AM (12 years ago)
Author:
vboxsync
Message:

Additions/Linux: installer fix

File:
1 edited

Legend:

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

    r44904 r44916  
    301301
    302302# install and load installer modules
    303 info "Copying additional installer modules ..."
    304 mkdir -p -m 755 "$INSTALLATION_MODULES_DIR"
    305 for CUR_FILE in installer/*; do
    306     install -p -m 755 "$CUR_FILE" "$INSTALLATION_MODULES_DIR"
    307     if [ $? -ne 0 ]; then
    308         info "Error: Failed to copy installer module \"$CUR_FILE\""
    309         if ! test "$FORCE_UPGRADE" = "force"; then
    310             exit 1
    311         fi       
    312     fi
    313 done
     303if [ -d installer ]; then
     304  info "Copying additional installer modules ..."
     305  mkdir -p -m 755 "$INSTALLATION_MODULES_DIR"
     306  for CUR_FILE in `ls installer/`; do
     307      install -p -m 755 "$CUR_FILE" "$INSTALLATION_MODULES_DIR"
     308      if [ $? -ne 0 ]; then
     309          info "Error: Failed to copy installer module \"$CUR_FILE\""
     310          if ! test "$FORCE_UPGRADE" = "force"; then
     311              exit 1
     312          fi       
     313      fi
     314  done
     315fi
    314316
    315317# install the new version
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