mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
Update installer.php
This commit is contained in:
parent
1a23690522
commit
c7c021e1c9
@ -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 New Issue
Block a user