summaryrefslogtreecommitdiffstats
path: root/lib
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 18:41:29 +0200
commita34a683ef1d88441f8048a0c2103e192ee3a7a2a (patch)
tree2403329f7c4e984d6cbe3fde540aa08ed444ec3a /lib
parent15806febcb93155083d5dbe532744469a893cb55 (diff)
downloadnextcloud-server-a34a683ef1d88441f8048a0c2103e192ee3a7a2a.tar.gz
nextcloud-server-a34a683ef1d88441f8048a0c2103e192ee3a7a2a.zip
Update installer.php
Diffstat (limited to 'lib')
-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 a497f581a5d..7ba4144a4aa 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -92,6 +92,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);