cd $SOURCE_DIRECTORY &&

mkdir -p      ${INSTALL_ROOT}/${XOOPS_INSTALL_PATH}/${SPELL}     &&
cp -r htdocs/* ${INSTALL_ROOT}/${XOOPS_INSTALL_PATH}/${SPELL} &&
#chmod -R 0777 /usr/share/$SPELL/html/install/         &&
chmod 0777 ${INSTALL_ROOT}/${XOOPS_INSTALL_PATH}/${SPELL}/mainfile.php*  &&

message "${MESSAGE_COLOR}Please point your apache at" \
        " ${INSTALL_ROOT}/${XOOPS_INSTALL_PATH}/${SPELL} and" \
        "request install.php." &&
message "You will need to delete" \
        "${INSTALL_ROOT}/${XOOPS_INSTALL_PATH}/${SPELL}/install.php afterwards."\
        "$DEFAULT_COLOR"
