From 3f133efa69d540782d8ff2fd962618eb902ab89f Mon Sep 17 00:00:00 2001
From: tbrehm <t.brehm@ispconfig.org>
Date: Tue, 30 Sep 2008 21:17:18 +0000
Subject: [PATCH] - Minor fixes in software update plugin.

---
 server/plugins-available/software_update_plugin.inc.php | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/server/plugins-available/software_update_plugin.inc.php b/server/plugins-available/software_update_plugin.inc.php
index 0bc0081896..c3caf63b98 100644
--- a/server/plugins-available/software_update_plugin.inc.php
+++ b/server/plugins-available/software_update_plugin.inc.php
@@ -58,7 +58,7 @@ class software_update_plugin {
 		global $app, $conf;
 		
 		if(!$conf['software_updates_enabled'] == true) {
-			$app->log('Software Updates not eanbled on this server. To enable updates, set $conf["software_updates_enabled"] = true; in config.inc.php',LOGLEVEL_ERROR);
+			$app->log('Software Updates not enabled on this server. To enable updates, set $conf["software_updates_enabled"] = true; in config.inc.php',LOGLEVEL_ERROR);
 			return false;
 		}
 		
@@ -89,6 +89,8 @@ class software_update_plugin {
 				exec("rm -rf $temp_dir");
 				$app->log("Deleting the temp directory $temp_dir",LOGLEVEL_DEBUG);
 				return false;
+			} else {
+				$app->log("md5sum of the downloaded file is verified.",LOGLEVEL_DEBUG);
 			}
 			
 			
-- 
GitLab