diff options
| author | Julien Cristau <jcristau@debian.org> | 2012-03-21 19:15:06 +0100 |
|---|---|---|
| committer | Ondřej Surý <ondrej@sury.org> | 2012-03-21 19:15:06 +0100 |
| commit | d0159313f3df3824ff2e5dc19b9f602bea0a68bc (patch) | |
| tree | 7d35febb421fdeda71952e27bf7cbffed7b2721c | |
| parent | cbdf7c28c3c747c68ae6007c52c909b0653c1daf (diff) | |
| download | php-d0159313f3df3824ff2e5dc19b9f602bea0a68bc.tar.gz | |
Fix postinst scripts to not use 'local' outside functions (Closes: #664853, #664849)
| -rw-r--r-- | debian/php5-module.postinst | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
