From 81760a06ecb8fbf8cd8167862396d40fa99e82a0 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 28 May 2007 16:10:34 +0000 Subject: * fixed bug introduced with last commit, package-installation was hosed git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1101 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSSetup/Engine.pm | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'installer') diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 8e991c1e..82c93648 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -882,13 +882,15 @@ sub stage1D_installPackageSelection 1; } } @pkgs; - if (scalar(@pkgs) == 0) { - vlog 1, "installing these packages:\n".join("\n\t", @pkgs); - $self->{'meta-packager'}->startSession(); + vlog 0, _tr("No packages listed for selection '%s', nothing to do.", + $selectionName); + vlog 1, "installing these packages:\n".join("\n\t", @pkgs); + $self->{'meta-packager'}->startSession(); + if (scalar(@pkgs) > 0) { $self->{'meta-packager'}->installSelection(join " ", @pkgs); - $self->{'distro'}->updateDistroConfig(); - $self->{'meta-packager'}->finishSession(); } + $self->{'distro'}->updateDistroConfig(); + $self->{'meta-packager'}->finishSession(); } sub clone_fetchSource -- cgit v1.2.3-55-g7522