diff options
author | Sebastian Schmelzer | 2009-06-06 00:32:54 +0200 |
---|---|---|
committer | Sebastian Schmelzer | 2009-06-06 00:32:54 +0200 |
commit | 1904c006c046f380a389173fe10e2ead78705354 (patch) | |
tree | ef338c73fc5fd6432af14c4bcbbc2f0aea1b0d28 /lib/OpenSLX/DistroUtils.pm | |
parent | remove debug code (diff) | |
download | core-1904c006c046f380a389173fe10e2ead78705354.tar.gz core-1904c006c046f380a389173fe10e2ead78705354.tar.xz core-1904c006c046f380a389173fe10e2ead78705354.zip |
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
Diffstat (limited to 'lib/OpenSLX/DistroUtils.pm')
-rw-r--r-- | lib/OpenSLX/DistroUtils.pm | 12 |
1 files changed, 3 insertions, 9 deletions
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 |