mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
Update installer.php
This commit is contained in:
parent
1a23690522
commit
c7c021e1c9
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue