VirtualBox

Ignore:
Timestamp:
Jan 11, 2010 12:05:28 PM (15 years ago)
Author:
vboxsync
Message:

Solaris/Additions: full root packaging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/solaris/Installer/postinstall.sh

    r25681 r25712  
    130130    /usr/sbin/installf -c none $PKGINST /dev/vboxguest=../devices/pci@0,0/pci80ee,cafe@4:vboxguest s
    131131fi
    132 if test ! -z "$xorgbin"; then
    133     /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient=$vboxadditions_path/VBox.sh s
    134     /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxRandR=$vboxadditions_path/VBoxRandR.sh s
    135     /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxClient-all=$vboxadditions_path/1099.vboxclient s
    136 fi
    137 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxControl=$vboxadditions_path/VBox.sh s
    138 /usr/sbin/installf -c none $PKGINST /usr/bin/VBoxService=$vboxadditions_path/VBox.sh s
    139 
    140132
    141133# Install Xorg components to the required places
     
    280272    echo "Configuring client..."
    281273    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
    282280    vboxclient_dest="/usr/dt/config/Xsession.d"
    283281    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
    293288        retval=2
    294289    fi
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