INN commit: branches/2.5/control (docheckgroups.in)

INN Commit rra at isc.org
Tue Nov 17 21:30:28 UTC 2009


    Date: Tuesday, November 17, 2009 @ 13:30:28
  Author: iulius
Revision: 8820

When processing a checkgroups, do not take into account
duplicated lines with localgroups.

Modified:
  branches/2.5/control/docheckgroups.in

------------------+
 docheckgroups.in |    5 +++++
 1 file changed, 5 insertions(+)

Modified: docheckgroups.in
===================================================================
--- docheckgroups.in	2009-11-17 21:29:19 UTC (rev 8819)
+++ docheckgroups.in	2009-11-17 21:30:28 UTC (rev 8820)
@@ -33,6 +33,11 @@
     exit 0
 }
 
+##  Make sure we do not have duplicates in the resulting concatenation of
+##  the checkgroups and the localgroups file.
+${SORT} -u ${T}/$$msg > ${T}/$$msg2
+mv -f ${T}/$$msg2 ${T}/$$msg
+
 ##  Get the top-level newsgroup names from the message and turn it into
 ##  a regexp.
 PATS=`${SED} <${T}/$$msg \




More information about the inn-committers mailing list