VirtualBox

Changeset 92346 in vbox for trunk/src


Ignore:
Timestamp:
Nov 11, 2021 9:15:42 AM (3 years ago)
Author:
vboxsync
Message:

Installer/darwin/VBoxKEXTs/postflight: Generalize the different Big Sur handling to Bug Sur and later.

File:
1 edited

Legend:

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

    r86954 r92346  
    8181# is expected there and the user has to reboot.
    8282#
    83 MACOS_VERS=$(sw_vers -productVersion)
     83MACOS_VERSION_MAJOR=$(sw_vers -productVersion | /usr/bin/sed -e 's/^\([0-9]*\).*$/\1/')
    8484sync
    85 if [[ ${MACOS_VERS} != 11.* ]]; then
     85if [[ ${MACOS_VERSION_MAJOR} -lt 11 ]]; then
    8686    set -e
    8787    kextload    '/Library/Application Support/VirtualBox/VBoxDrv.kext'
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