summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorOliver Tappe2007-07-20 19:04:54 +0200
committerOliver Tappe2007-07-20 19:04:54 +0200
commit444d0d884bdc1b3bbf1c4ab3b95bd6d8a0ebdeac (patch)
treebd7a80b44dfa61a22f5141b666256554722b827b /installer
parent* fixed (another) problem when trying to import a vendor-OS that isn't fully (diff)
downloadcore-444d0d884bdc1b3bbf1c4ab3b95bd6d8a0ebdeac.tar.gz
core-444d0d884bdc1b3bbf1c4ab3b95bd6d8a0ebdeac.tar.xz
core-444d0d884bdc1b3bbf1c4ab3b95bd6d8a0ebdeac.zip
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1264 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer')
-rw-r--r--installer/OpenSLX/OSExport/Engine.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm
index ad0c0c0a..2033018c 100644
--- a/installer/OpenSLX/OSExport/Engine.pm
+++ b/installer/OpenSLX/OSExport/Engine.pm
@@ -284,7 +284,12 @@ sub _addExportToConfigDB
);
$self->{exporter}->showExportConfigInfo($export) if $id;
+ }
+ my $system = $openslxDB->fetchSystemByFilter({
+ 'name' => $self->{'export-name'},
+ });
+ if (!defined $system) {
# now create a default system for that export, using the standard kernel:
system("slxconfig add-system $self->{'export-name'}");
}