postflight revision fb27aa740466280f820e13e238bc6dd0b477eb37
#
# Copyright (C) 2007-2010 Oracle Corporation
#
# Use only with permission.
#
#
# Correct the ownership of the directories in case there
# was an existing installation.
#
#
# Select the right architecture.
#
if test "$MY_ARCH" = "x86_64"; then
MY_ARCH="amd64"
else
MY_ARCH="x86"
fi
set -e
do
exit 1;
fi
done
#
# Install the Python bindings
#
PYTHON="python python2.3 python2.5 python2.6"
if [ -e "${VBOX_INSTALL_PATH}/sdk/installer/vboxapisetup.py" ]; then
# Install the python bindings if python is in the path
echo 1>&2 "Python found: ${p}, installing bindings..."
# Pass install path via environment
export VBOX_INSTALL_PATH
fi
done
fi
#
# Install any custom files
#
CPDIR="${CP} -R"
if [ -d "${DATAPATH}/.custom" ]; then
echo 1>&2 "Copy ${DATAPATH}/.custom to ${VBOX_INSTALL_PATH}...";
${CPDIR} "${DATAPATH}/.custom/" "${VBOX_INSTALL_PATH}/custom"
fi
exit 0;