INN commit: trunk/control (docheckgroups.in)

INN Commit rra at isc.org
Tue Nov 17 21:29:19 UTC 2009


    Date: Tuesday, November 17, 2009 @ 13:29:19
  Author: iulius
Revision: 8819

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

Modified:
  trunk/control/docheckgroups.in

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

Modified: docheckgroups.in
===================================================================
--- docheckgroups.in	2009-11-17 18:58:24 UTC (rev 8818)
+++ docheckgroups.in	2009-11-17 21:29:19 UTC (rev 8819)
@@ -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