From 7aa9620520363551ef4c9adc7f2318661a96265a Mon Sep 17 00:00:00 2001 From: Sebastian Schmelzer Date: Thu, 12 May 2011 19:28:17 +0200 Subject: update vmchooser --- .../plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/os-plugins/plugins/vmchooser/OpenSLX') diff --git a/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm b/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm index 134ead6d..f3428e1a 100644 --- a/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm +++ b/src/os-plugins/plugins/vmchooser/OpenSLX/OSPlugin/vmchooser.pm @@ -76,6 +76,17 @@ sub getAttrInfo content_descr => '1 means active - 0 means inactive', default => '0', }, + 'vmchooser::theme' => { + applies_to_systems => 1, + applies_to_clients => 1, + description => unshiftHereDoc(<<' End-of-Here'), + theme for vmchooser + End-of-Here + #TODO: + #content_regex => qr{^(0|1)$}, + content_descr => 'name of theme', + default => 'default', + }, 'vmchooser::env' => { applies_to_systems => 1, applies_to_clients => 1, @@ -118,6 +129,8 @@ sub installationPhase copyFile("$pluginBasePath/$file", "$pluginRepoPath/"); chmod 0755, "$pluginRepoPath/$file"; } + + copyDir("$pluginBasePath/themes", "$pluginRepoPath/"); # set ditro-specific default session $self->{distro}->copyDefaultSession($pluginRepoPath); -- cgit v1.2.3-55-g7522