diff options
author | Olivier Thauvin <nanardon@mageia.org> | 2010-11-04 17:31:43 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mageia.org> | 2010-11-04 17:31:43 +0000 |
commit | 5827f75824b0727be29116c49adbefa72aaaef9e (patch) | |
tree | 5811b05970c007e366eb802ba9d091a8c00a4b3f /lib/MGA | |
parent | 83d413600adb4fb6c9c0056706b6174f65224b88 (diff) | |
download | mgamirrors-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')
-rw-r--r-- | lib/MGA/Mirrors/DB.pm | 6 |
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; |