#!/bin/sh -e

if [ -x "/etc/init.d/orca" ]; then
	update-rc.d orca defaults >/dev/null
fi

if [ "x$1" = "xconfigure" ]; then
	echo
	echo "You need to configure ORCA by changing /etc/orca.conf."
	echo "Once you're happy with that setup, you can start the"
	echo "daemon by typing ``/etc/init.d/orca start''."
	echo
	chown www-data:www-data /var/lib/orca
	chown www-data:www-data /var/www/orca
fi

#DEBHELPER#

exit 0

