From: Dragan Dosen Date: Wed, 30 Jan 2008 21:36:40 +0000 (+0000) Subject: r11: X-Git-Tag: v5.3.3+3~19 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=2ed83ded0b7a9b2775e99116bdb576aa961ffc8a;p=php5-cn.git r11: * Check $PHP5CONFD directory. --- diff --git a/debian/postinst b/debian/postinst index 5b9d290..cbb3a37 100755 --- a/debian/postinst +++ b/debian/postinst @@ -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