#!/bin/sh

. /etc/default/doodle

if [ -x /usr/bin/doodle ]
then
	doodle -b "$DOODLE_PATH"

	chown root.doodle "$DOODLE_DBPATH"
fi
