diff options
author | michag86 <micha_g@arcor.de> | 2015-08-10 10:34:44 +0200 |
---|---|---|
committer | michag86 <micha_g@arcor.de> | 2015-08-10 10:34:44 +0200 |
commit | c7c021e1c98f553668511dd9af79e4ad4eda6801 (patch) | |
tree | 407ffd1c1e34a745ff103e5eb55195987b9161da /lib/private/installer.php | |
parent | 1a236905223536cdb392484d1c2f520dc1897c84 (diff) | |
download | nextcloud-server-c7c021e1c98f553668511dd9af79e4ad4eda6801.tar.gz nextcloud-server-c7c021e1c98f553668511dd9af79e4ad4eda6801.zip |
Update installer.php
Diffstat (limited to 'lib/private/installer.php')
-rw-r--r-- | lib/private/installer.php | 1 |
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); |