From 5827f75824b0727be29116c49adbefa72aaaef9e Mon Sep 17 00:00:00 2001 From: Olivier Thauvin Date: Thu, 4 Nov 2010 17:31:43 +0000 Subject: - add target to make an rpm --- lib/MGA/Mirrors/DB.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/MGA/Mirrors/DB.pm b/lib/MGA/Mirrors/DB.pm index 80005a3..ac37783 100644 --- a/lib/MGA/Mirrors/DB.pm +++ b/lib/MGA/Mirrors/DB.pm @@ -10,13 +10,13 @@ use DBI; use File::Temp qw(tempfile); use Net::DNS; -sub configfile { '/etc/mga-mirror.ini' } +sub configfile { '/etc/mga-mirrors.ini' } sub new { my ($class) = @_; - my $conf = (-f './mga-mirror.ini') - ? Config::IniFiles->new(-file => './mga-mirror.ini') + my $conf = (-f './mga-mirrors.ini') + ? Config::IniFiles->new(-file => './mga-mirrors.ini') : Config::IniFiles->new(-file => configfile()) or return; -- cgit v1.2.1