VirtualBox

Changeset 58838 in vbox


Ignore:
Timestamp:
Nov 24, 2015 11:10:44 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
104306
Message:

Additions/linux/installer: delete the vboxadd-install.log log file on every new installation to avoid accumulating massive files; suppress a possible warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r58837 r58838  
    164164{
    165165    begin "Starting the VirtualBox Guest Additions" console;
     166    if test -r $config; then
     167      . $config
     168    else
     169      fail "Configuration file $config not found"
     170    fi
     171    test -n "$INSTALL_DIR" -a -n "$INSTALL_VER" ||
     172      fail "Configuration file $config not complete"
    166173    uname -r | grep -q -E '^2\.6|^3|^4' 2>/dev/null &&
    167174        ps -A -o comm | grep -q '/*udevd$' 2>/dev/null ||
     
    374381    export USERNAME
    375382
    376     rm $LOG
     383    rm -f $LOG
    377384    MODULE_SRC="$INSTALL_DIR/src/vboxguest-$INSTALL_VER"
    378385    BUILDINTMP="$MODULE_SRC/build_in_tmp"
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