Changeset 7771 in vbox for trunk/src/VBox/Additions/solaris/Installer
- Timestamp:
- Apr 7, 2008 2:03:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r7404 r7771 59 59 esac 60 60 61 retval=0 61 62 if test -z "$vboxmouse_src"; then 62 63 echo "Unknown version of the X Window System installed." 63 64 echo "Failed to install the VirtualBox X Window System drivers." 65 66 # Exit as partially failed installation 67 retval=2 64 68 else 65 69 vboxmouse_dest="/usr/lib/X11/modules/input/vboxmouse_drv.so" … … 77 81 rm -f $vboxadditions_path/vboxvideo_drv_* 78 82 /usr/sbin/removef -f $PKGINST 83 84 # Some distros like Indiana have no xorg.conf, deal with this 85 if ! (test -f '/etc/X11/xorg.conf' -o -f '/etc/X11/.xorg.conf'); then 86 mv -f $vboxadditions_path/solaris_xorg.conf /etc/X11/.xorg.conf 87 fi 88 89 echo "Configuring Xorg..." 90 $vboxadditions_path/x11config.pl 79 91 fi 80 81 echo "Configuring Xorg..."82 $vboxadditions_path/x11config.pl83 92 84 93 /usr/sbin/installf -f $PKGINST … … 91 100 92 101 echo "Done." 102 if test $retval -eq 0; then 103 echo "Please restart X Window System for activating the X11 guest additions." 104 fi 105 exit $retval 93 106
Note:
See TracChangeset
for help on using the changeset viewer.