VirtualBox

Changeset 72322 in vbox for trunk


Ignore:
Timestamp:
May 24, 2018 1:24:30 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122776
Message:

Installer/Linux: bugref:9049: Simplifying code committed in r122755 to get rid of sed hack.

Location:
trunk/src/VBox/Installer/linux
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r72305 r72322  
    408408                -e "s;_ARCH_;$(KBUILD_TARGET_ARCH);g" \
    409409                -e "s;_HARDENED_;$(VBOX_WITH_HARDENING);g" \
    410                 -e "s;_GUI_WITH_SHARED_LIBRARY_;$(VBOX_GUI_WITH_SHARED_LIBRARY);g" \
    411410                -e "s;_BUILDTYPE_;$(KBUILD_TYPE);g" \
    412411                -e "s;_USERNAME_;$(USERNAME);g" \
  • trunk/src/VBox/Installer/linux/install.sh

    r72305 r72322  
    3434ARCH="_ARCH_"
    3535HARDENED="_HARDENED_"
    36 GUI_WITH_SHARED_LIBRARY="_GUI_WITH_SHARED_LIBRARY_"
    3736# The "BUILD_" prefixes prevent the variables from being overwritten when we
    3837# read the configuration from the previous installation.
     
    279278    #                 and finally make sure the directory is only writable by the user (paranoid).
    280279    if [ -n "$HARDENED" ]; then
    281         if [ -n "$GUI_WITH_SHARED_LIBRARY" ]; then
     280        if [ -f $INSTALLATION_DIR/VirtualBoxVM ]; then
    282281            test -e $INSTALLATION_DIR/VirtualBoxVM   && chmod 4511 $INSTALLATION_DIR/VirtualBoxVM
    283282        else
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