aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
diff options
context:
space:
mode:
authorAngelo Naselli <anaselli@linux.it>2014-06-30 12:00:57 +0200
committerAngelo Naselli <anaselli@linux.it>2014-06-30 12:00:57 +0200
commit6a8c44ff7ac1f94c8987ea1d4301332d99e71fda (patch)
tree1fa343dac43265a72ab44e28df85b7875e43fe95 /lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm
parent6103628fc64ba9ec2cc6c915477071e3395d7535 (diff)
downloadcolin-keep-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar
colin-keep-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.gz
colin-keep-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.bz2
colin-keep-6a8c44ff7ac1f94c8987ea1d4301332d99e71fda.tar.xz
colin-keep-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.pm3
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 9ef5d00..3162805 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 };