From 3cdb9a8fdc13ceb9de7a32b6fd989b76bafb45af Mon Sep 17 00:00:00 2001 From: tbrehm <t.brehm@ispconfig.org> Date: Wed, 08 Jun 2011 04:58:27 -0400 Subject: [PATCH] Fixed: FS#1642 - Adding new content filters breaks header_checks, body_checks etc. --- server/mods-available/remoteaction_core_module.inc.php | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/server/mods-available/remoteaction_core_module.inc.php b/server/mods-available/remoteaction_core_module.inc.php index 4416bd8..b112e8c 100644 --- a/server/mods-available/remoteaction_core_module.inc.php +++ b/server/mods-available/remoteaction_core_module.inc.php @@ -134,13 +134,16 @@ /* * Do the update */ + exec("aptitude update"); + exec("aptitude safe-upgrade -y"); + //TODO : change this when distribution information has been integrated into server record if(file_exists('/etc/gentoo-release')) { exec("glsa-check -f --nocolor affected"); } else { exec("aptitude update"); - exec("aptitude upgrade -y"); + exec("aptitude safe-upgrade -y"); } /* @@ -179,17 +182,16 @@ exec("tar xvfz ISPConfig-" . $new_version . ".tar.gz"); /* - * Start the automated update + * Initialize the automated update + * (the update is then done next start of server.sh */ chdir("/tmp/ispconfig3_install/install"); exec("touch autoupdate"); - exec("php -q autoupdate.php"); - + /* * do some clean-up */ exec("rm /tmp/ISPConfig-" . $new_version . ".tar.gz"); - exec("rm /tmp/ispconfig3_install -R"); /* * go back to the "old path" -- Gitblit v1.9.1