From 3446c27dd6e67198bd9d44387dc6bcfbff394ab2 Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Mon, 1 Sep 2008 15:48:07 +0000 Subject: * remove plugin-specifc repo- and tmp-path in order to avoid problems during re-installation (as suggested by Michael) git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2174 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/OpenSLX/OSPlugin/Engine.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/os-plugins/OpenSLX/OSPlugin/Engine.pm b/os-plugins/OpenSLX/OSPlugin/Engine.pm index 09a4cfaa..5488b4ac 100644 --- a/os-plugins/OpenSLX/OSPlugin/Engine.pm +++ b/os-plugins/OpenSLX/OSPlugin/Engine.pm @@ -182,6 +182,7 @@ sub installPlugin my $chrootedSerializedAttrsFile = "$self->{'chrooted-plugin-temp-path'}/serialized-attrs"; + rmtree([ $self->{'plugin-repo-path'}, $self->{'plugin-temp-path'} ]); mkpath([ $self->{'plugin-repo-path'}, $self->{'plugin-temp-path'} ]); # invoke plugin and let it prepare the installation -- cgit v1.2.3-55-g7522