case "$ACTION" in
post)
if [ "$UPDATE" = "yes" ]; then
chown -R mongodb var/lib/mongodb/* var/log/mongodb/*
fi
;;
esac