From 6a8c44ff7ac1f94c8987ea1d4301332d99e71fda Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Mon, 30 Jun 2014 12:00:57 +0200 Subject: changed to fully qualified calls --- lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/AdminPanel/Rpmdragora/edit_urpm_sources.pm') 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 }; -- cgit v1.2.1