From 8e283b5f69b1cbd6b454cd447569826b5f3793e4 Mon Sep 17 00:00:00 2001
From: Marius Cramer <m.cramer@pixcept.de>
Date: Mon, 25 Aug 2014 09:39:18 -0400
Subject: [PATCH] Merge branch 'work-3.0.5.4p3' into 'stable-3.0.5'

---
 install/update.php |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/install/update.php b/install/update.php
index 36eb201..803e47d 100644
--- a/install/update.php
+++ b/install/update.php
@@ -443,6 +443,9 @@
 
 $inst->install_ispconfig();
 
+// Cleanup
+$inst->cleanup_ispconfig();
+
 //** Configure Crontab
 $update_crontab_answer = $inst->simple_query('Reconfigure Crontab?', array('yes', 'no'), 'yes','reconfigure_crontab');
 if($update_crontab_answer == 'yes') {
@@ -494,6 +497,11 @@
 	}
 }
 
+//* Create md5 filelist
+$md5_filename = '/usr/local/ispconfig/security/data/file_checksums_'.date('Y-m-d_h-i').'.md5';
+exec('find /usr/local/ispconfig -type f -print0 | xargs -0 md5sum > '.$md5_filename);
+chmod($md5_filename,0700);
+
 echo "Update finished.\n";
 
 ?>

--
Gitblit v1.9.1