r5:
authorDragan Dosen <ddosen@ffzg.hr>
Wed, 30 Jan 2008 21:30:41 +0000 (21:30 +0000)
committerDragan Dosen <ddosen@ffzg.hr>
Wed, 30 Jan 2008 21:30:41 +0000 (21:30 +0000)
  * Check for $PHP4CONFD directory.

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