#!/bin/sh
# POST-INSTALL script

MODE=$2
INSTALL_PREFIX=/usr/local

if [ "X$MODE" = "XPOST-INSTALL" ]; then
    find $INSTALL_PREFIX/sitebuilder/ -nouser | xargs chown www:www
    /usr/local/bin/sb_config --update_modules
fi
