postflight revision fb27aa740466280f820e13e238bc6dd0b477eb37
919N/A# Copyright (C) 2007-2010 Oracle Corporation 919N/A# Use only with permission. 919N/A# Correct the ownership of the directories in case there 919N/A# was an existing installation. 919N/A# Select the right architecture. # Install the Python bindings PYTHON=
"python python2.3 python2.5 python2.6" # Install the python bindings if python is in the path if [
"`\${p} -c 'print "test"' 2> /dev/null`" =
"test" ];
then echo 1>&
2 "Python found: ${p}, installing bindings..." # Pass install path via environment # Install any custom files if [ -d
"${DATAPATH}/.custom" ];
then echo 1>&
2 "Copy ${DATAPATH}/.custom to ${VBOX_INSTALL_PATH}...";
${
CPDIR}
"${DATAPATH}/.custom/" "${VBOX_INSTALL_PATH}/custom"