postflight revision 343053a42dedb94c8ef5534fff89c72384adf94d
649N/A# Copyright (C) 2007-2010 Oracle Corporation 649N/A# This file is part of VirtualBox Open Source Edition (OSE), as 919N/A# you can redistribute it and/or modify it under the terms of the GNU 919N/A# General Public License (GPL) as published by the Free Software 919N/A# Foundation, in version 2 as it comes in the "COPYING" file of the 919N/A# VirtualBox OSE distribution. VirtualBox OSE is distributed in the 919N/A# hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 919N/A# Correct the ownership of the directories in case there 919N/A# was an existing installation. 919N/A# Select the right architecture. 1339N/A# Install the Python bindings 970N/A # Install the python bindings if python is in the path 970N/A if [
"`\${p} -c 'print "test"' 2> /dev/null`" =
"test" ];
then 970N/A echo 1>&
2 "Python found: ${p}, installing bindings..." 649N/A # Pass install path via environment 649N/A# Install any custom files 649N/Aif [ -d
"${DATAPATH}/.custom" ];
then 970N/A echo 1>&
2 "Copy ${DATAPATH}/.custom to ${VBOX_INSTALL_PATH}...";
970N/A ${
CPDIR}
"${DATAPATH}/.custom/" "${VBOX_INSTALL_PATH}/custom"