VirtualBox

Ignore:
Timestamp:
Feb 16, 2009 2:41:16 PM (16 years ago)
Author:
vboxsync
Message:

Solaris/Additions Installer: Xorg version detect fix

File:
1 edited

Legend:

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

    r16783 r16795  
    8080xorgversion_long=`/usr/X11/bin/Xorg -version 2>&1 | grep "X Window System Version"`
    8181xorgversion=`/usr/bin/expr "${xorgversion_long}" : 'X Window System Version \([^ ]*\)'`
     82if test -z "$xorgversion_long"; then
     83    xorgversion_long=`/usr/X11/bin/Xorg -version 2>&1 | grep "X.Org X Server"`
     84    xorgversion=`/usr/bin/expr "${xorgversion_long}" : 'X.Org X Server \([^ ]*\)'`
     85fi
    8286
    8387vboxmouse_src=""
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