diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 15:21:50 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-06-13 15:21:50 +0000 |
commit | 50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2 (patch) | |
tree | eece3c432800972cdfb56bf6703a7e1aaccdceab /lib/MGA/Advisories.pm | |
parent | fbc35fd95c230d9b7459db1cb88670938a16274d (diff) | |
download | mgaadvisories-50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2.tar mgaadvisories-50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2.tar.gz mgaadvisories-50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2.tar.bz2 mgaadvisories-50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2.tar.xz mgaadvisories-50b8ed2bfef1ff58a2cadf9f2f016fe6a6988da2.zip |
Add 'initqaconf' command to initialize config for QA team members
Diffstat (limited to 'lib/MGA/Advisories.pm')
-rw-r--r-- | lib/MGA/Advisories.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/MGA/Advisories.pm b/lib/MGA/Advisories.pm index b89ad60..0bafc88 100644 --- a/lib/MGA/Advisories.pm +++ b/lib/MGA/Advisories.pm @@ -12,9 +12,9 @@ use LWP::UserAgent; use File::Basename; #use Data::Dump qw(dd); -my $config_file = '/usr/share/mga-advisories/config'; -my $config = LoadFile($ENV{MGAADV_CONF} || $config_file); -my $home_config_file = $ENV{HOME} . '/.mga-advisories/mga-advisories.conf'; +our $config_file = '/usr/share/mga-advisories/config'; +our $config = LoadFile($ENV{MGAADV_CONF} || $config_file); +our $home_config_file = $ENV{HOME} . '/.mga-advisories/mga-advisories.conf'; my $custom_config_file = -f $home_config_file ? $home_config_file : '/etc/mga-advisories.conf'; my $custom_config = LoadFile($custom_config_file); |