From f43372e648fd9342fc358978019269a1ac3be3ac Mon Sep 17 00:00:00 2001 From: "Mahlon E. Smith" Date: Tue, 30 May 2017 11:08:48 -0700 Subject: [PATCH] Oop, the 'mailinglist' file was leftover from older ezmlm. Not created by ezmlm-make anymore. --- lib/ezmlm.rb | 4 ++-- lib/ezmlm/list.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ezmlm.rb b/lib/ezmlm.rb index 9fb3390..079a99c 100644 --- a/lib/ezmlm.rb +++ b/lib/ezmlm.rb @@ -14,7 +14,7 @@ module Ezmlm # $Id$ # Package version - VERSION = '1.1.0' + VERSION = '1.1.1' # Suck in the components. # @@ -35,7 +35,7 @@ module Ezmlm def find_directories( listsdir ) listsdir = Pathname.new( listsdir ) return Pathname.glob( listsdir + '*' ).sort.select do |entry| - entry.directory? && ( entry + 'mailinglist' ).exist? + entry.directory? && ( entry + 'ezmlmrc' ).exist? end end diff --git a/lib/ezmlm/list.rb b/lib/ezmlm/list.rb index ac9eadd..8d31d28 100644 --- a/lib/ezmlm/list.rb +++ b/lib/ezmlm/list.rb @@ -25,7 +25,7 @@ class Ezmlm::List ### def initialize( listdir ) listdir = Pathname.new( listdir ) unless listdir.is_a?( Pathname ) - unless listdir.directory? && ( listdir + 'mailinglist' ).exist? + unless listdir.directory? && ( listdir + 'ezmlmrc' ).exist? raise ArgumentError, "%p doesn't appear to be an ezmlm-idx list." % [ listdir.to_s ] end @listdir = listdir