From d7e11726bbd2f8ce5fb6d756fd9bad9a709d988f Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sat, 15 Mar 2008 18:35:27 +0000 Subject: * intermediate checking for new desktop plugin (successor of displaymanager with extended scope) - does not work yet, so please do not use! git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1634 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Engine.pm | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'installer/OpenSLX/OSSetup/Engine.pm') diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index e4b07260..3a112d35 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -520,7 +520,7 @@ sub callChrootedFunctionForVendorOS $self->{'vendor-os-name'} ) ); - return; + return 1; } sub removeVendorOS @@ -689,6 +689,19 @@ sub metaPackager return $self->{'meta-packager'}; } +sub getPackagesForSelection +{ + my $self = shift; + my $selKey = shift; + + return if !$selKey; + + my $selection = $self->{'distro-info'}->{selection}->{$selKey}; + return if !$selection; + + return $selection->{packages}; +} + sub busyboxBinary { my $self = shift; @@ -1717,7 +1730,7 @@ sub _installPlugins : _tr("installing default plugins...\n") ); for my $pluginInfo (@$plugins) { - my $pluginName = $pluginInfo->{name}; + my $pluginName = $pluginInfo->{plugin_name}; my $pluginEngine = OpenSLX::OSPlugin::Engine->new(); vlog(0, _tr("\t%s\n", $pluginName)); $pluginEngine->initialize( -- cgit v1.2.3-55-g7522