From 2ed83ded0b7a9b2775e99116bdb576aa961ffc8a Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Wed, 30 Jan 2008 21:36:40 +0000 Subject: [PATCH] r11: * Check $PHP5CONFD directory. --- debian/postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/postinst b/debian/postinst index 5b9d290..cbb3a37 100755 --- a/debian/postinst +++ b/debian/postinst @@ -70,6 +70,12 @@ for php5ext in $EXTENSIONS; do fi done + # Check $PHP5CONFD directory. + if [ ! -d "$PHP5CONFD" ]; then + cp_echo "CN: Creating configuration directory $PHP5CONFD" + mkdir $PHP5CONFD + fi + # Check extension configuration in /etc/php5/conf.d/ directory. if [ ! -f "$PHP5CONFD/$php5ext.ini" ]; then -- 1.7.10.4