diff options
author | Angelo Naselli <anaselli@linux.it> | 2014-06-30 12:00:57 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2014-06-30 12:00:57 +0200 |
commit | 6a8c44ff7ac1f94c8987ea1d4301332d99e71fda (patch) | |
tree | 1fa343dac43265a72ab44e28df85b7875e43fe95 /lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm | |
parent | 6103628fc64ba9ec2cc6c915477071e3395d7535 (diff) | |
download | manatools-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar manatools-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.gz manatools-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.bz2 manatools-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.xz manatools-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.zip |
changed to fully qualified calls
Diffstat (limited to 'lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm')
-rw-r--r-- | lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm index 9ef5d00b..31628052 100644 --- a/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm +++ b/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm @@ -32,6 +32,7 @@ use AdminPanel::Rpmdragora::open_db; use AdminPanel::Rpmdragora::formatting; use URPM::Signature; use MDK::Common::Math qw(max); +use MDK::Common::File; use urpm::media; use urpm::download; use urpm::lock; @@ -625,7 +626,7 @@ sub proxy_callback { sub parallel_read_sysconf() { my @conf; - foreach (cat_('/etc/urpmi/parallel.cfg')) { + foreach (MDK::Common::File::cat_('/etc/urpmi/parallel.cfg')) { my ($name, $protocol, $command) = /([^:]+):([^:]+):(.*)/ or print STDERR "Warning, unrecognized line in /etc/urpmi/parallel.cfg:\n$_"; my $medias = $protocol =~ s/\(([^\)]+)\)$// ? [ split /,/, $1 ] : []; push @conf, { name => $name, protocol => $protocol, medias => $medias, command => $command }; |