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 18:38:22 +0200
commitc9132190ab243de7b56a9291c896fc3a889e8737 (patch)
tree93778298c4aa79dec0bb055189425971e78f4b0f /lib/private/installer.php
parent677bb62edfab57b9823d596e4021ec578da6dd69 (diff)
downloadnextcloud-server-c9132190ab243de7b56a9291c896fc3a889e8737.tar.gz
nextcloud-server-c9132190ab243de7b56a9291c896fc3a889e8737.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 8961c1e6795..3db8efbfbee 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);