--- ocsinventory-agent-1.1.1.orig/lib/Ocsinventory/Agent/Backend.pm +++ ocsinventory-agent-1.1.1/lib/Ocsinventory/Agent/Backend.pm @@ -4,8 +4,6 @@ no strict 'refs'; use warnings; -use ExtUtils::Installed; - sub new { my (undef, $params) = @_; @@ -88,14 +86,6 @@ # devlib enable, I only search for backend module in ./lib push (@dirToScan, './lib'); } else { - my ($inst) = ExtUtils::Installed->new(); - - eval {@installed_files = - $inst->files('Ocsinventory')}; - -# ExtUtils::Installed is nice but it needs properly installed package with -# .packlist -# This is a workaround for 'invalide' installations... foreach (@INC) { next if ! -d || (-l && -d readlink) || /^(\.|lib)$/; push @dirToScan, $_;