From c6ad045eb89e880ffa34599c751488db78766a7e Mon Sep 17 00:00:00 2001 From: Dragan Dosen Date: Wed, 30 Jan 2008 21:30:41 +0000 Subject: [PATCH] r5: * Check for $PHP4CONFD directory. --- debian/postinst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/debian/postinst b/debian/postinst index afeb551..034b224 100755 --- a/debian/postinst +++ b/debian/postinst @@ -70,6 +70,12 @@ for php4ext in $EXTENSIONS; do fi done + # Check $PHP4CONFD directory. + if [ ! -d "$PHP4CONFD" ]; then + cp_echo "CN: Creating configuration directory $PHP4CONFD" + mkdir $PHP4CONFD + fi + # Check extension configuration in /etc/php4/conf.d/ directory. if [ ! -f "$PHP4CONFD/$php4ext.ini" ]; then -- 1.7.10.4