[Pkg-owncloud-commits] [owncloud] 17/79: Update installer.php
David Prévot
taffit at moszumanska.debian.org
Tue Sep 1 20:55:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit c9132190ab243de7b56a9291c896fc3a889e8737
Author: michag86 <micha_g at arcor.de>
Date: Mon Aug 10 10:34:44 2015 +0200
Update installer.php
---
lib/private/installer.php | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/private/installer.php b/lib/private/installer.php
index 8961c1e..3db8efb 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list