VirtualBox

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


Ignore:
Timestamp:
Nov 10, 2009 1:44:20 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
54671
Message:

Installer/solaris: fix opensolaris version check so that it deals with suffixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/vboxconfig.sh

    r24536 r24549  
    2727HOST_OS_MAJORVERSION=`uname -r`
    2828# Which OpenSolaris version (snv_xxx)?
    29 HOST_OS_MINORVERSION=`uname -v | cut -f2 -d'_'`
     29HOST_OS_MINORVERSION=`uname -v | sed -e "s/snv_//" -e "s/[^0-9]//"`
    3030
    3131DIR_VBOXBASE=/opt/VirtualBox
     
    243243        else
    244244            $BIN_ADDDRV -m"$modperm" $modname
    245         fi   
     245        fi
    246246    else
    247         if test "$nullop" = "$NULLOP"; then       
     247        if test "$nullop" = "$NULLOP"; then
    248248            $BIN_ADDDRV $modname >/dev/null 2>&1
    249249        else
    250250            $BIN_ADDDRV $modname
    251         fi       
     251        fi
    252252    fi
    253253
     
    396396                    exit 1
    397397                fi
    398                
     398
    399399                # Add vboxusb if present
    400400                # This driver is special, we need it in the boot-archive but since there is no
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