From 1904c006c046f380a389173fe10e2ead78705354 Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Fri, 5 Jun 2009 22:32:54 +0000 Subject: use distroutils in xserver plugin remove debug code git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2941 95ad53e4-c205-0410-b2fa-d234c58c8868 --- lib/OpenSLX/DistroUtils.pm | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'lib/OpenSLX/DistroUtils.pm') diff --git a/lib/OpenSLX/DistroUtils.pm b/lib/OpenSLX/DistroUtils.pm index 1bda311f..d7456d92 100644 --- a/lib/OpenSLX/DistroUtils.pm +++ b/lib/OpenSLX/DistroUtils.pm @@ -72,14 +72,11 @@ sub getInitFileForDistro { } sub getKernelVersionForDistro { - my $kernelPath = shift; + my $kernelPath = shift; my $distroName = shift; - - - print Dumper(@INC); + my $distro; my $engine = OpenSLX::DistroUtils::Engine->new(); - my $distro; if ($distroName) { $distro = $engine->loadDistro($distroName); @@ -88,9 +85,6 @@ sub getKernelVersionForDistro { } return $distro->getKernelVersion($kernelPath); - } - - -1; +1; \ No newline at end of file -- cgit v1.2.3-55-g7522