Update installer.php

This commit is contained in:
michag86 2015-08-10 10:34:44 +02:00
parent 1a23690522
commit c7c021e1c9

View file

@ -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);