#! /bin/sh
umask 002
set -x
: making directories...
mkdir /var/spool/news /usr/local/lib/news /usr/local/newsbin
ln -s /var/spool/news /usr/spool/news
ln -s /usr/local/lib/news /usr/lib/news
ln -s /usr/local/newsbin /usr/lib/newsbin
for d in /var/spool/news /var/spool/news/in.coming /var/spool/news/in.coming/bad /var/spool/news/out.going /var/spool/news/out.master /usr/local/lib/news /usr/local/lib/news/bin /usr/local/newsbin
do
	if test ! -d $d
	then
		mkdir $d
	fi
done
/usr/sbin/chown news.news /var/spool/news /var/spool/news/in.coming /var/spool/news/in.coming/bad /var/spool/news/out.going /var/spool/news/out.master /usr/local/lib/news /usr/local/lib/news/bin  /usr/spool/news /usr/lib/news
/usr/sbin/chown bin.bin /usr/local/newsbin  /usr/lib/newsbin
: done
