summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-05-28 18:10:34 +0200
committerOliver Tappe2007-05-28 18:10:34 +0200
commit81760a06ecb8fbf8cd8167862396d40fa99e82a0 (patch)
treee6ec07ba75f75ac151b161a20a0e74b2b8d3c7dc /installer
parent* updated package name for smart, the seemingly strange package that was used... (diff)
downloadcore-81760a06ecb8fbf8cd8167862396d40fa99e82a0.tar.gz
core-81760a06ecb8fbf8cd8167862396d40fa99e82a0.tar.xz
core-81760a06ecb8fbf8cd8167862396d40fa99e82a0.zip
* 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
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSSetup/Engine.pm12
1 files changed, 7 insertions, 5 deletions
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