In debian/postinst, using 'printf' instead of 'echo -e'.
Package: php4-cn
Architecture: all
-Depends: libapache2-mod-php4, php4-cli, php4-mysql, carnet-tools-cn (>= 2.4)
+Depends: libapache2-mod-php4, php4-cli, php4-mysql, debconf, carnet-tools-cn (>= 2.4)
Conflicts: php5-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 $php4ext extension to file $PHP4CONFD/$php4ext.ini"
- echo -e "# configuration for php $php4ext_up module\nextension=$php4ext.so" >> "$INITMP"
+ printf "# configuration for php %s module\nextension=%s\n" "${php4ext_up}" "${php4ext}" >> "$INITMP"
cp_mv "$INITMP" "$PHP4CONFD/$php4ext.ini"
need_restart=1