From 74f651cffde2a7a5ba0777b9b34aa45e253a1311 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Wed, 28 May 2008 16:55:04 +0000 Subject: * make sure the local themes directory exists whenever this plugin is being instantiated git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@1806 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm index ed8a7508..9a251a86 100644 --- a/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm +++ b/os-plugins/plugins/desktop/OpenSLX/OSPlugin/desktop.pm @@ -33,6 +33,9 @@ sub new name => 'desktop', }; + my $localThemesDir = "$openslxConfig{'config-path'}/plugins/desktop/themes"; + mkpath($localThemesDir) unless -e $localThemesDir; + return bless $self, $class; } -- cgit v1.2.3-55-g7522