From 023806d55ca4f83d3a227d1f183310fcd43daa3f Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Sun, 17 Feb 2008 15:01:40 +0000 Subject: * added explicit error message about trying to apply actions to the '<<>>' vendor-OS (which is going to be introduced, soon) * slxos-export list-exported now uses the usual export name format (::) * 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 --- installer/OpenSLX/OSExport/Engine.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'installer/OpenSLX/OSExport') 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 '<<>>') { + 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) -- cgit v1.2.3-55-g7522