Changeset 20308 in vbox for trunk/src/VBox/Installer
- Timestamp:
- Jun 5, 2009 9:39:04 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48203
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/postinstall.sh
r20288 r20308 82 82 exit 2 83 83 fi 84 fi85 84 86 echo "Configuring services and drivers..."85 echo "Configuring services and drivers..." 87 86 88 if test "$currentzone" = "global"; then89 87 # Web service 90 88 if test -f /var/svc/manifest/application/virtualbox/webservice.xml; then … … 117 115 /usr/sbin/svcadm enable -s svc:/application/virtualbox/zoneaccess 118 116 fi 119 fi120 117 121 # 122 # Install python bindings 123 # 124 if test -f "/opt/VirtualBox/sdk/installer/vboxapisetup.py" || test -h "/opt/VirtualBox/sdk/installer/vboxapisetup.py"; then 125 PYTHONBIN=`which python` 126 if test -f "$PYTHONBIN" || test -h "$PYTHONBIN"; then 127 echo "Installing Python bindings..." 118 # Install python bindings 119 if test -f "/opt/VirtualBox/sdk/installer/vboxapisetup.py" || test -h "/opt/VirtualBox/sdk/installer/vboxapisetup.py"; then 120 PYTHONBIN=`which python` 121 if test -f "$PYTHONBIN" || test -h "$PYTHONBIN"; then 122 echo "Installing Python bindings..." 128 123 129 VBOX_INSTALL_PATH=/opt/VirtualBox 130 export VBOX_INSTALL_PATH 131 cd /opt/VirtualBox/sdk/installer 132 $PYTHONBIN ./vboxapisetup.py install 133 else 134 echo "** WARNING! Python not found, skipped installed Python bindings." 135 echo " Manually run '/opt/VirtualBox/sdk/installer/vboxapisetup.py install'" 136 echo " to install the bindings when python is available." 124 VBOX_INSTALL_PATH=/opt/VirtualBox 125 export VBOX_INSTALL_PATH 126 cd /opt/VirtualBox/sdk/installer 127 $PYTHONBIN ./vboxapisetup.py install > /dev/null 128 else 129 echo "** WARNING! Python not found, skipped installed Python bindings." 130 echo " Manually run '/opt/VirtualBox/sdk/installer/vboxapisetup.py install'" 131 echo " to install the bindings when python is available." 132 fi 133 fi 134 135 # Update boot archive 136 BOOTADMBIN=/sbin/bootadm 137 if test -f "$BOOTADMBIN" || test -h "$BOOTADMBIN"; then 138 echo "Updating boot archive..." 139 $BOOTADMBIN update-archive > /dev/null 137 140 fi 138 141 fi
Note:
See TracChangeset
for help on using the changeset viewer.