summaryrefslogtreecommitdiffstats
path: root/lib/private/installer.php
diff options
context:
space:
mode:
authormichag86 <micha_g@arcor.de>2015-08-10 10:34:44 +0200
committermichag86 <micha_g@arcor.de>2015-08-10 10:34:44 +0200
commitc7c021e1c98f553668511dd9af79e4ad4eda6801 (patch)
tree407ffd1c1e34a745ff103e5eb55195987b9161da /lib/private/installer.php
parent1a236905223536cdb392484d1c2f520dc1897c84 (diff)
downloadnextcloud-server-c7c021e1c98f553668511dd9af79e4ad4eda6801.tar.gz
nextcloud-server-c7c021e1c98f553668511dd9af79e4ad4eda6801.zip
Update installer.php
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r--lib/private/installer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 328a4abcfd9..392dc1c0817 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -108,6 +108,7 @@ class OC_Installer{
$extractDir .= '/' . $info['id'];
if(!file_exists($extractDir)) {
+ OC_Helper::rmdirr($basedir);
throw new \Exception($l->t("Archive does not contain a directory named %s", $info['id']));
}
OC_Helper::copyr($extractDir, $basedir);