diff options
author | Oliver Tappe | 2008-09-01 17:48:07 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-09-01 17:48:07 +0200 |
commit | 3446c27dd6e67198bd9d44387dc6bcfbff394ab2 (patch) | |
tree | 16bfaee70dc27669074ca0007fc117cd7bd1eb5c /os-plugins | |
parent | * cleanup of uclib-roofs filter (diff) | |
download | core-3446c27dd6e67198bd9d44387dc6bcfbff394ab2.tar.gz core-3446c27dd6e67198bd9d44387dc6bcfbff394ab2.tar.xz core-3446c27dd6e67198bd9d44387dc6bcfbff394ab2.zip |
* 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
Diffstat (limited to 'os-plugins')
-rw-r--r-- | os-plugins/OpenSLX/OSPlugin/Engine.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 |