#!/bin/sh
# POST-DEINSTALL script

MODE=$2

if [ "X$MODE" = "XPOST-DEINSTALL" ] && [ -x /usr/local/bin/sb_config ]; then
    if ! /usr/local/bin/sb_config --update_modules; then
	echo "SiteBuilder may not function properly due to configuration errors"
        echo "If you expirience problems try running 'sb_config --update_modules'"
    fi
fi

exit 0
