+php5-cn (5.4.4+3) stable; urgency=low
+
+ * debhelper >= 9
+ * Izbaceno dodavanje ekstenzije mysql u /etc/php5/conf.d/php.ini
+ * Dodano brisanje _obsolete_ datoteke php.ini
+
+ -- Zeljko Boros <Zeljko.Boros@CARNet.hr> Thu, 07 Nov 2013 12:41:30 +0100
+
php5-cn (5.4.4+2) stable; urgency=low
* Ispravke za lintian.
Priority: optional
Maintainer: Grupa za izradu paketa <paketi@carnet.hr>
Uploaders: Valentin Vidic <Valentin.Vidic@CARNet.hr>
-Build-Depends: debhelper (>= 7), po-debconf
+Build-Depends: debhelper (>= 9), po-debconf
Standards-Version: 3.9.4
Package: php5-cn
PKG="php5-cn"
A2MODEDIR="/etc/apache2/mods-enabled"
-EXTENSIONS="mysql"
+### mysql je vec ukljucen u wheezyu
+### EXTENSIONS="mysql"
+EXTENSIONS=""
PHP5DIR="/etc/php5"
+PHP5MODADIR="$PHP5DIR/mods-available"
PHP5CONFD="/etc/php5/conf.d"
PHP4DIR="/etc/php4"
mkdir -p $PHP5CONFD/
fi
+# Brisanje obsolete datoteke mysql.ini u $PHP5CONFD
+#
+if [ -f "$PHP5CONFD/mysql.ini" ]; then
+ # just to make sure mysql is included in _new-style_ configuration
+ if [ -f "$PHP5MODADIR/mysql.ini" ]; then
+ cp_echo "CN: Removing obsolete $PHP5CONFD/mysql.ini"
+ rm -f $PHP5CONFD/mysql.ini
+ else
+ cp_echo "CN: WARNING: Obsolete $PHP5CONFD/mysql.ini present, and no $PHP5MODADIR/mysql.ini!"
+ fi
+fi
# Check if PHP5 extensions are enabled.
#