From 7bed4b7dfa6f6bead171b7a7dd3e407328dadcc9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 9 Sep 2014 15:32:00 +0000 Subject: [PATCH] fix typo --- doc/rpm-build/post_install.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/rpm-build/post_install.php b/doc/rpm-build/post_install.php index 1584e47f58..0734850e7c 100755 --- a/doc/rpm-build/post_install.php +++ b/doc/rpm-build/post_install.php @@ -126,8 +126,8 @@ function set_distro_defaults($distro=null) { $config['php5enmod'] = '/usr/sbin/php5enmod'; // Ubuntu only needs "-s ALL" and Debian gives an error, because it does not support it - if (!file_exists('/etc/php5/conf.d/')) $config['php5enmod'] = ' -s ALL'; - $config['php5enmod'] = 'mcrypt'; + if (!file_exists('/etc/php5/conf.d/')) $config['php5enmod'] .= ' -s ALL'; + $config['php5enmod'] .= ' mcrypt'; } $config['autostart_db'] = '/usr/sbin/update-rc.d mysql defaults'; $config['autostart_webserver'] = '/usr/sbin/update-rc.d apache2 defaults';