From 426f114a9337114f531d12caeeb876c2aa717a9d Mon Sep 17 00:00:00 2001 From: Boris Savelev Date: Mon, 27 May 2013 13:58:13 +0400 Subject: [PATCH] Remove LC_ALL from info_size. INFO file generate without LC_ALL e.g. in current locale. Size must be computed with same locale, otherwise INFO file will be chopped of --- src/vfs/extfs/helpers/deb.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vfs/extfs/helpers/deb.in b/src/vfs/extfs/helpers/deb.in index ca600b882..4ae17dcb4 100644 --- a/src/vfs/extfs/helpers/deb.in +++ b/src/vfs/extfs/helpers/deb.in @@ -34,7 +34,7 @@ sub mcdebfs_list local($archivename)=@_; local $qarchivename = quote($archivename); chop($date=`LC_ALL=C date "+%b %d %H:%M"`); - chop($info_size=`LC_ALL=C dpkg -I $qarchivename | wc -c`); + chop($info_size=`dpkg -I $qarchivename | wc -c`); $install_size=length($pressinstall); print "dr-xr-xr-x 1 root root 0 $date CONTENTS\n"; -- 2.11.4.GIT