Changeset 7950 in vbox for trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
- Timestamp:
- Apr 14, 2008 1:22:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r7906 r7950 62 62 retval=0 63 63 if test -z "$vboxmouse_src"; then 64 echo " Unknown version of the X Window System installed."65 echo " Failed to install the VirtualBox X Window System drivers."64 echo "*** Unknown version of the X Window System installed." 65 echo "*** Failed to install the VirtualBox X Window System drivers." 66 66 67 67 # Exit as partially failed installation … … 92 92 fi 93 93 94 95 # Setup our VBoxClient 96 echo "Configuring client..." 97 vboxclient_src=$vboxadditions_path 98 vboxclient_dest="/usr/dt/config/Xsession.d" 99 if test -d "$vboxclient_dest"; then 100 /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/1099.vboxclient" f 101 cp "$vboxclient_src/1099.vboxclient" "$vboxclient_dest/1099.vboxclient" 102 elif test -d "/usr/share/gnome/autostart"; then 103 vboxclient_dest="/usr/share/gnome/autostart" 104 /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/vboxclient.desktop" f 105 cp "$vboxclient_src/vboxclient.desktop" "$vboxclient_dest/vboxclient.desktop" 106 else 107 echo "*** Failed to configure client!! Couldn't find autostart directory." 108 retval=2 109 fi 110 111 94 112 # Remove redundant files 95 113 /usr/sbin/removef $PKGINST $vboxadditions_path/etc/devlink.tab 1>/dev/null … … 99 117 100 118 /usr/sbin/installf -f $PKGINST 119 101 120 102 121 # Setup our VBoxService SMF service
Note:
See TracChangeset
for help on using the changeset viewer.