summaryrefslogtreecommitdiffstats
path: root/source/n/php/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/php/doinst.sh')
-rw-r--r--source/n/php/doinst.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/n/php/doinst.sh b/source/n/php/doinst.sh
index a6f584ed3..cd084784e 100644
--- a/source/n/php/doinst.sh
+++ b/source/n/php/doinst.sh
@@ -1,7 +1,5 @@
-if [ ! -r etc/httpd/mod_php.conf ]; then
- cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
-elif [ "`cat etc/httpd/mod_php.conf 2> /dev/null`" = "" ]; then
- cp -a etc/httpd/mod_php.conf.example etc/httpd/mod_php.conf
+if [ "`cat etc/httpd/mod_php.conf 2> /dev/null`" = "" ]; then
+ cp -a etc/httpd/mod_php.conf.new etc/httpd/mod_php.conf
fi
config() {
@@ -28,3 +26,4 @@ cp -a etc/php-fpm.conf.default etc/php-fpm.conf.new
config etc/php-fpm.conf.new
cp -a etc/php-fpm.conf.default etc/php-fpm.conf.new
config etc/php-fpm.conf.new
+config etc/httpd/mod_php.conf.new