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/OSSetup/Engine.pm | |
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/OSSetup/Engine.pm')
-rw-r--r-- | installer/OpenSLX/OSSetup/Engine.pm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/installer/OpenSLX/OSSetup/Engine.pm b/installer/OpenSLX/OSSetup/Engine.pm index 9b2c6aba..914045fc 100644 --- a/installer/OpenSLX/OSSetup/Engine.pm +++ b/installer/OpenSLX/OSSetup/Engine.pm @@ -144,6 +144,9 @@ sub initialize my $vendorOSName = shift; my $actionType = shift; + if ($vendorOSName eq '<<<default>>>') { + die _tr("you can't do that with the default vendor-OS!\n"); + } if ($vendorOSName !~ m[^([^\-]+\-[^\-]+)(?:\-(.+))?]) { die _tr( "Given vendor-OS has unknown format, expected '<name>-<release>[-<selection>]'\n" |