From e03e5ef68df1ba2d2e4fe5670f8793ca7c9b2ff9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 25 Apr 2014 13:31:55 +0000 Subject: [PATCH] call check_install_pear_packages before running update or install --- doc/rpm-build/post_install.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/rpm-build/post_install.php b/doc/rpm-build/post_install.php index 13b1a25fa0..80545501a0 100755 --- a/doc/rpm-build/post_install.php +++ b/doc/rpm-build/post_install.php @@ -232,6 +232,10 @@ foreach(array('php','source_dir','data_dir','setup-cli') as $name) { if (!file_exists($config[$name])) bail_out(1,$config[$name].' not found!'); } + +// install/upgrade required pear packages +check_install_pear_packages(); + $setup_cli = $config['php'].' -d memory_limit=256M '.$config['setup-cli']; if (!file_exists($config['header']) || filesize($config['header']) < 200) // default header redirecting to setup is 147 bytes @@ -338,8 +342,6 @@ if (!file_exists($config['header']) || filesize($config['header']) < 200) // def system($config['start_webserver'].' reload'); } } - // install/upgrade required pear packages - check_install_pear_packages(); // fix egw_cache evtl. created by root, stoping webserver from accessing it fix_perms(); @@ -392,8 +394,6 @@ else echo "\nEGroupware successful updated\n"; break; } - // install/upgrade required pear packages - check_install_pear_packages(); // fix egw_cache evtl. created by root, stoping webserver from accessing it fix_perms();