r5:
[php4-cn.git] / debian / postinst
index afeb551..034b224 100755 (executable)
@@ -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