VirtualBox

Changeset 24502 in vbox


Ignore:
Timestamp:
Nov 9, 2009 1:26:17 PM (15 years ago)
Author:
vboxsync
Message:

Additions/linux/installer: X11 setup fix

File:
1 edited

Legend:

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

    r24487 r24502  
    405405    test -f /etc/debian_version -a -d /usr/share/xserver-xorg/pci &&
    406406    {
    407         test -h -a ! -e "$lib_dir/vboxvideo.ids" &&
    408             rm -f "$lib_dir/vboxvideo.ids"
    409         ln -s "$lib_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null
     407        rm -f "/usr/share/xserver-xorg/pci/vboxvideo.ids"
     408        ln -s "$share_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null
    410409        test "$useHalForMouse" -eq 1 && doX11Config=0
    411410    }
     
    453452        fi
    454453    fi
    455 
    456     # Certain Ubuntu/Debian versions use a special PCI-id file to identify
    457     # video drivers.  Some versions have the directory and don't use it.
    458     # Those versions can autoload vboxvideo though, so we don't need to
    459     # hack the configuration file for them.
    460     test -f /etc/debian_version -a -d /usr/share/xserver-xorg/pci &&
    461     {
    462         test -h -a ! -e "$share_dir/vboxvideo.ids" &&
    463             rm -rf "$share_dir/vboxvideo.ids"
    464         ln -s "$share_dir/vboxvideo.ids" /usr/share/xserver-xorg/pci 2>/dev/null
    465         test "$useHalForMouse" -eq 1 && doX11Config=0
    466     }
    467454
    468455    # X.Org Server versions starting with 1.5 can do mouse auto-detection,
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