On Sat, Dec 10, 2011 at 10:59:35PM +0200, Igor Urazov wrote: ... > With Russian locale (LANG=ru_RU.UTF-8) dpkg-query -l has a bit different > header which breaks sed parsing. It always returns "||/", so function > returns 1 even if package is installed. > > Executing dpkg-query with LANG=C fixes this problem.
Good catch. Thanks. Osamu -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org