#!/bin/bash
#
# postinst for dwww
# "@(#)dwww:$Id: postinst,v 1.9 1997/03/22 23:57:42 jim Exp $"
#

set -e

/usr/sbin/dwwwconfig --auto

if test ! -f /var/lib/dwww/html/index.html
then
	echo -n "Building dwww pages; this will take a while..."
	/etc/cron.daily/dwww
	echo " done."
fi
