From d0159313f3df3824ff2e5dc19b9f602bea0a68bc Mon Sep 17 00:00:00 2001 From: Julien Cristau Date: Wed, 21 Mar 2012 19:15:06 +0100 Subject: Fix postinst scripts to not use 'local' outside functions (Closes: #664853, #664849) --- debian/php5-module.postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/php5-module.postinst') diff --git a/debian/php5-module.postinst b/debian/php5-module.postinst index 38d7b3277..2649d57a0 100644 --- a/debian/php5-module.postinst +++ b/debian/php5-module.postinst @@ -19,8 +19,8 @@ if [ "$1" = "configure" ]; then dpkg-maintscript-helper mv_conffile /etc/php5/conf.d/${inifile} ${inidir}/${inifile} 5.4.0~rc6-1 -- "$@"; if [ -f "${inidir}/${inifile}.dpkg-new" ]; then - local md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')" - local old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')" + md5sum="$(md5sum ${inidir}/${inifile}.dpkg-new | sed -e 's/ .*//')" + old_md5sum="$(md5sum ${inidir}/${inifile} | sed -e 's/ .*//')" if [ "$md5sum" = "$old_md5sum" ]; then mv "${inidir}/${inifile}.dpkg-new" "${inidir}/${inifile}" fi -- cgit v1.2.3