#! /bin/sh
datadir0=/usr/local/share/din/
datadir1=$HOME/\.din/
if test -d $datadir1
then
	echo "overwriting data files in: $datadir1"
else
	echo "creating: $datadir1"
	mkdir $datadir1
fi

for i in `ls $datadir0`
do
	cp -rfv $datadir0$i $datadir1$i
done

exit 0


syntax highlighted by Code2HTML, v. 0.9.1