pkgsrc/news/trn/patches/patch-ad
wiz 4cd86cc2fb Use nntpclnt or inn instead of trn's own inews (so that admins only have to
configure one inews). Also use 'share' instead of 'lib'. Pointed out and
cross-checked by Kimmo Suominen <kim@tac.nyc.ny.us>.
2000-03-18 19:51:31 +00:00

18 lines
368 B
Text

$NetBSD: patch-ad,v 1.1 2000/03/18 19:51:33 wiz Exp $
--- Pnews.SH.orig Sun Jan 17 20:01:22 1999
+++ Pnews.SH Sat Mar 18 13:47:13 2000
@@ -911,7 +911,12 @@
esac
case $orgname in
-/*) orgname=`$cat $orgname` ;;
+/*) if $test -r $orgname; then
+ orgname=`$cat $orgname`
+ else
+ orgname=""
+ fi
+ ;;
esac
$sed -e '/^Reply-To: $/d' > $tmpart <<EOHeader