From: Michael M Slusarz Date: Tue, 31 Aug 2010 15:06:13 +0000 (-0600) Subject: More error checking X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=b9c2e218490cc1a5d09e79e711eaa29151cf4475;p=horde.git More error checking --- diff --git a/framework/bin/install_framework b/framework/bin/install_framework index 5e478697c..ce1bfe353 100755 --- a/framework/bin/install_framework +++ b/framework/bin/install_framework @@ -198,6 +198,10 @@ foreach ($pkgs as $key => $val) { } foreach ($pkg_ob->getInstallationFilelist() as $file) { $orig = realpath($val . '/' . $file['attribs']['name']); + if (empty($orig)) { + $cli->message('Install file does not seem to exist: ' . $val . '/' . $file['attribs']['name'], 'cli.error'); + continue; + } switch ($file['attribs']['role']) { case 'horde':