r11:
authorDragan Dosen <ddosen@ffzg.hr>
Wed, 30 Jan 2008 21:36:40 +0000 (21:36 +0000)
committerDragan Dosen <ddosen@ffzg.hr>
Wed, 30 Jan 2008 21:36:40 +0000 (21:36 +0000)
  * Check $PHP5CONFD directory.

debian/postinst

index 5b9d290..cbb3a37 100755 (executable)
@@ -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