postflight revision fb27aa740466280f820e13e238bc6dd0b477eb37
143N/A# Copyright (C) 2007-2010 Oracle Corporation 143N/A# Use only with permission. 143N/A# Correct the ownership of the directories in case there 143N/A# was an existing installation. 143N/A# Select the right architecture. 143N/A# Install the Python bindings 143N/A # Install the python bindings if python is in the path 143N/A if [
"`\${p} -c 'print "test"' 2> /dev/null`" =
"test" ];
then 143N/A echo 1>&
2 "Python found: ${p}, installing bindings..." 143N/A # Pass install path via environment 143N/A# 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"