In debian/postinst, using 'printf' instead of 'echo -e'.
Package: php5-cn
Architecture: all
-Depends: libapache2-mod-php5, php5-cli, php5-mysql, carnet-tools-cn (>= 2.4)
+Depends: libapache2-mod-php5, php5-cli, php5-mysql, debconf, carnet-tools-cn (>= 2.4)
Conflicts: php4-cn
Description: server-side, HTML-embedded scripting language (CARNet configuration)
This package is a meta-package that, when installed, guarantees that you
cp_echo "CN: Adding $php5ext extension to file $PHP5CONFD/$php5ext.ini"
- echo -e "# configuration for php $php5ext_up module\nextension=$php5ext.so" >> "$INITMP"
+ printf "# configuration for php %s module\nextension=%s\n" "${php5ext_up}" "${php5ext}" >> "$INITMP"
cp_mv "$INITMP" "$PHP5CONFD/$php5ext.ini"
need_restart=1