diff options
| author | Oliver Tappe | 2008-02-17 16:01:40 +0100 |
|---|---|---|
| committer | Oliver Tappe | 2008-02-17 16:01:40 +0100 |
| commit | 023806d55ca4f83d3a227d1f183310fcd43daa3f (patch) | |
| tree | 1c405ed0e0c35a16341bd0bd99df9359140b19d1 /installer/OpenSLX/OSExport | |
| parent | * deleted debug lines (diff) | |
| download | core-023806d55ca4f83d3a227d1f183310fcd43daa3f.tar.gz core-023806d55ca4f83d3a227d1f183310fcd43daa3f.tar.xz core-023806d55ca4f83d3a227d1f183310fcd43daa3f.zip | |
* added explicit error message about trying to apply actions to the
'<<<default>>>' vendor-OS (which is going to be introduced, soon)
* slxos-export list-exported now uses the usual export name format
(<vendor-OS-name>::<export-type>)
* when listing the installed vendor-OSes, plain files are now filtered
out (only directories can contain a vendor-OS)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1555 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'installer/OpenSLX/OSExport')
| -rw-r--r-- | installer/OpenSLX/OSExport/Engine.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm index c8b384d3..12d4b862 100644 --- a/installer/OpenSLX/OSExport/Engine.pm +++ b/installer/OpenSLX/OSExport/Engine.pm @@ -184,6 +184,9 @@ sub _initialize my $exportName = shift; my $exportType = lc(shift); + if ($vendorOSName eq '<<<default>>>') { + die _tr("you can't do that with the default vendor-OS!\n"); + } if (!grep { $_ eq $exportType } @supportedExportTypes) { vlog(0, _tr("Sorry, export type '%s' is unsupported.\n", $exportType) |
