Changeset 56776 in vbox
- Timestamp:
- Jul 3, 2015 12:33:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/installer/vboxadd-x11.sh
r53383 r56776 594 594 fi 595 595 done 596 if test - n"${nobak}"; then596 if test -z "${nobak}"; then 597 597 for i in $x11conf_files; do 598 598 if test -r "$i.vbox"; then … … 629 629 630 630 # Remove X.Org drivers 631 find "$x11_modules_dir" /usr/lib64/xorg/modules /usr/lib/xorg/modules \ 632 /usr/X11R6/lib64/modules /usr/X11R6/lib/modules \ 633 /usr/X11R6/lib/X11/modules \ 634 '(' -name 'vboxvideo_drv*' -o -name 'vboxmouse_drv*' ')' \ 635 -exec rm -f '{}' ';' 2>/dev/null 631 modules_dir=`X -showDefaultModulePath 2>&1` || modules_dir= 632 if [ -z "$modules_dir" ]; then 633 for dir in /usr/lib64/xorg/modules /usr/lib/xorg/modules /usr/X11R6/lib64/modules /usr/X11R6/lib/modules /usr/X11R6/lib/X11/modules; do 634 if [ -d $dir ]; then 635 modules_dir=$dir 636 break 637 fi 638 done 639 fi 640 rm -f "$modules_dir/drivers/vboxvideo_drv"* 2>/dev/null 641 rm -f "$modules_dir/input/vboxmouse_drv"* 2>/dev/null 636 642 637 643 # Remove the link to vboxvideo_dri.so 638 rm -f /usr/lib/dri/vboxvideo_dri.so /usr/lib64/dri/vboxvideo_dri.so 2>/dev/null 644 for dir in /usr/lib/dri /usr/lib32/dri /usr/lib64/dri \ 645 /usr/lib/xorg/modules/dri /usr/lib32/xorg/modules/dri \ 646 /usr/lib64/xorg/modules/dri /usr/lib/i386-linux-gnu/dri \ 647 /usr/lib/x86_64-linux-gnu/dri; do 648 if [ -d $dir ]; then 649 rm -f "$dir/vboxvideo_dri.so" 2>/dev/null 650 fi 651 done 639 652 640 653 # Remove VBoxClient autostart files
Note:
See TracChangeset
for help on using the changeset viewer.