VirtualBox

Ignore:
Timestamp:
Nov 17, 2009 11:25:15 AM (15 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: fix public ticket 5475, support openSUSE 11.2 and a fix to xorg.conf hacking

File:
1 edited

Legend:

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

    r24651 r24717  
    261261    echo "VirtualBox Guest Additions installation, Window System and desktop setup" > $LOG
    262262    begin "Installing the Window System drivers"
    263     lib_dir="/usr/lib/VBoxGuestAdditions"
     263    if [ "$ARCH" = "amd64" ]
     264    then
     265        LIB=/usr/lib64
     266    else
     267        LIB=/usr/lib
     268    fi
     269    lib_dir="$LIB/VBoxGuestAdditions"
    264270    share_dir="/usr/share/VBoxGuestAdditions"
    265271    test -x "$lib_dir" -a -x "$share_dir" ||
     
    310316            vboxvideo_src=vboxvideo_drv_16.so
    311317            vboxmouse_src=vboxmouse_drv_16.so
     318            # SUSE with X.Org Server 1.6 knows about vboxvideo
     319            test "$system" = "suse" && setupxorgconf=""
    312320            ;;
    313321        1.4.99.* | 1.5.* )
     
    463471    semanage fcontext -a -t unconfined_execmem_exec_t '/usr/bin/VBoxClient' > /dev/null 2>&1
    464472    # Install the guest OpenGL drivers
    465     if [ "$ARCH" = "amd64" ]
    466     then
    467         LIB=/usr/lib64
    468     else
    469         LIB=/usr/lib
    470     fi
    471473    if [ -d /usr/lib64/dri ]
    472474    then
     
    501503    if test -r "$nobak"; then
    502504        test -r "$main_cfg" &&
    503             if test "$main_cfg" -ot "$nobak" -o -n "$legacy"; then
    504                 rm -f "$main_cfg"
     505            if test -n "$legacy" -o ! "$nobak" -ot "$main_cfg"; then
     506                rm -f "$nobak" "$main_cfg"
    505507            else
    506508                newer="$newer`printf "  $main_cfg (no original)\n"`"
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