Oop, the 'mailinglist' file was leftover from older ezmlm. Not created by ezmlm-make anymore.
authorMahlon E. Smith <mahlon@martini.nu>
Tue, 30 May 2017 11:08:48 -0700
changeset 25 81cc7d47f68f
parent 24 f8873b391f3d
child 26 a89d91d4b157
Oop, the 'mailinglist' file was leftover from older ezmlm. Not created by ezmlm-make anymore.
lib/ezmlm.rb
lib/ezmlm/list.rb
--- a/lib/ezmlm.rb	Wed May 24 15:42:39 2017 -0700
+++ b/lib/ezmlm.rb	Tue May 30 11:08:48 2017 -0700
@@ -14,7 +14,7 @@
 	# $Id$
 
 	# Package version
-	VERSION = '1.1.0'
+	VERSION = '1.1.1'
 
 	# Suck in the components.
 	#
@@ -35,7 +35,7 @@
 	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
 
--- a/lib/ezmlm/list.rb	Wed May 24 15:42:39 2017 -0700
+++ b/lib/ezmlm/list.rb	Tue May 30 11:08:48 2017 -0700
@@ -25,7 +25,7 @@
 	###
 	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