aboutsummaryrefslogtreecommitdiffstats
path: root/lib/MGA/Mirrors
diff options
context:
space:
mode:
authorOlivier Thauvin <nanardon@mageia.org>2010-11-04 17:31:43 +0000
committerOlivier Thauvin <nanardon@mageia.org>2010-11-04 17:31:43 +0000
commit5827f75824b0727be29116c49adbefa72aaaef9e (patch)
tree5811b05970c007e366eb802ba9d091a8c00a4b3f /lib/MGA/Mirrors
parent83d413600adb4fb6c9c0056706b6174f65224b88 (diff)
downloadmgamirrors-5827f75824b0727be29116c49adbefa72aaaef9e.tar
mgamirrors-5827f75824b0727be29116c49adbefa72aaaef9e.tar.gz
mgamirrors-5827f75824b0727be29116c49adbefa72aaaef9e.tar.bz2
mgamirrors-5827f75824b0727be29116c49adbefa72aaaef9e.tar.xz
mgamirrors-5827f75824b0727be29116c49adbefa72aaaef9e.zip
- add target to make an rpm
Diffstat (limited to 'lib/MGA/Mirrors')
-rw-r--r--lib/MGA/Mirrors/DB.pm6
1 files changed, 3 insertions, 3 deletions
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;