From: Dragan Dosen Date: Wed, 30 Jan 2008 21:30:41 +0000 (+0000) Subject: r5: X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=c6ad045eb89e880ffa34599c751488db78766a7e;p=php4-cn.git r5: * Check for $PHP4CONFD directory. --- 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