[Pkg-owncloud-commits] [owncloud] 02/11: Update installer.php

David Prévot taffit at moszumanska.debian.org
Sun Aug 30 00:14:21 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 164865e81351d337213f4ff49d4390a32b712d0b
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 3b1dcad..b16c589 100644
--- a/lib/private/installer.php
+++ b/lib/private/installer.php
@@ -92,6 +92,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