Changeset 25712 in vbox for trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
- Timestamp:
- Jan 11, 2010 12:05:28 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r25681 r25712 130 130 /usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s 131 131 fi 132 if test ! -z "$xorgbin"; then133 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient=$vboxadditions_path/VBox.sh s134 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxRandR=$vboxadditions_path/VBoxRandR.sh s135 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient-all=$vboxadditions_path/1099.vboxclient s136 fi137 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxControl=$vboxadditions_path/VBox.sh s138 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxService=$vboxadditions_path/VBox.sh s139 140 132 141 133 # Install Xorg components to the required places … … 280 272 echo "Configuring client..." 281 273 vboxclient_src=$vboxadditions_path 274 vboxclient_dest="/usr/share/gnome/autostart" 275 clientinstalled=0 276 if test -d "$vboxclient_dest"; then 277 /usr/sbin/installf -c none $PKGINST $vboxclient_dest/vboxclient.desktop=$vboxadditions_path/vboxclient.desktop s 278 clientinstalled=1 279 fi 282 280 vboxclient_dest="/usr/dt/config/Xsession.d" 283 281 if test -d "$vboxclient_dest"; then 284 /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/1099.vboxclient" f 285 cp "$vboxclient_src/1099.vboxclient" "$vboxclient_dest/1099.vboxclient" 286 chmod a+rx "$vboxclient_dest/1099.vboxclient" 287 elif test -d "/usr/share/gnome/autostart"; then 288 vboxclient_dest="/usr/share/gnome/autostart" 289 /usr/sbin/installf -c none $PKGINST "$vboxclient_dest/vboxclient.desktop" f 290 cp "$vboxclient_src/vboxclient.desktop" "$vboxclient_dest/vboxclient.desktop" 291 else 292 echo "*** Failed to configure client!! Couldn't find autostart directory." 282 /usr/sbin/installf -c none $PKGINST $vboxclient_dest/1099.vboxclient=$vboxadditions_path/1099.vboxclient s 283 clientinstalled=1 284 fi 285 if test $clientinstalled -eq 0; then 286 echo "*** Failed to configure client, couldn't find any autostart directory!" 287 # Exit as partially failed installation 293 288 retval=2 294 289 fi
Note:
See TracChangeset
for help on using the changeset viewer.