Added locale setting before calling dpkg to fix "link to" parsing on non-C locales

Thanks to Andrew Borodin for this fix!

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
Yury V. Zaytsev 2011-05-12 11:40:13 +02:00 committed by Andrew Borodin
parent 87174687e2
commit 7dae33b257

View File

@ -42,7 +42,7 @@ sub mcdebfs_list
print "-r--r--r-- 1 root root $info_size $date INFO\n";
print "-r-xr--r-- 1 root root $install_size $date INSTALL\n";
if ( open(PIPEIN, "dpkg-deb -c $qarchivename |") )
if ( open(PIPEIN, "LC_ALL=C dpkg-deb -c $qarchivename |") )
{
while(<PIPEIN>)
{