#! /bin/sh umask 002 set -x : installing programs for dir in conf batch dbz expire input relay misc explode inject rna do cd ../$dir make newsinstall BIN=/usr/local/bin RBIN=/bin || exit 1 done : done : installing control files cd ../conf for f in active errlog history history.pag history.dir localgroups log mailname mailpaths organization postdefltdist postdefltgroup replyusepath server sys whoami rnews.stall rnews.immed readnews.ctl do if test -r /usr/local/lib/news/$f then echo "/usr/local/lib/news/$f already exists; left unchanged" elif test ! -r $f then : "$f" not wanted else cp $f /usr/local/lib/news/$f fi done if test -r /usr/local/lib/news/bin/config then cp /usr/local/lib/news/bin/config /usr/local/lib/news/bin/config.old fi cp config /usr/local/lib/news/bin/config chmod +x /usr/local/lib/news/bin/config : It is virtually certain that some of those control files : need modifying to suit your system. In particular, you : should pick up a current 'active' file from your neighbors. : done