Bug#559468: ttf-thai-tlwg: preinst fails (local: can only be used in a function)

2009-12-04 Thread Jonathan Nieder
Package: ttf-thai-tlwg
Version: 1:0.4.13-3
Severity: grave
Justification: renders package impossible to install

Hi,

Today’s upgrade of ttf-thai-tlwg fails for me:

| Preparing to replace ttf-thai-tlwg 1:0.4.13-2 (using 
.../ttf-thai-tlwg_1%3a0.4.13-3_all.deb) ...
| /var/lib/dpkg/tmp.ci/preinst: line 41: local: can only be used in a function
| dpkg: error processing 
/var/cache/apt/archives/ttf-thai-tlwg_1%3a0.4.13-3_all.deb (--unpack):
|  subprocess new pre-installation script returned error exit status 1
| Processing triggers for man-db ...
| Processing triggers for fontconfig ...
| Errors were encountered while processing:
|  /var/cache/apt/archives/ttf-thai-tlwg_1%3a0.4.13-3_all.deb
| E: Sub-process /usr/bin/dpkg returned an error code (1)

I think that

| local HINTS_FILE=/etc/defoma/hints/ttf-thai-tlwg.hints

should be simply

| HINTS_FILE=/etc/defoma/hints/ttf-thai-tlwg.hints

instead.  dash doesn’t care about this, but bash does.

Regards,
Jonathan



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#559468: ttf-thai-tlwg: preinst fails (local: can only be used in a function)

2009-12-04 Thread Theppitak Karoonboonyanan
On Fri, Dec 4, 2009 at 11:09 PM, Jonathan Nieder jrnie...@gmail.com wrote:

 I think that

 |             local HINTS_FILE=/etc/defoma/hints/ttf-thai-tlwg.hints

 should be simply

 |             HINTS_FILE=/etc/defoma/hints/ttf-thai-tlwg.hints

 instead.  dash doesn’t care about this, but bash does.

Yes, I saw this and had already uploaded a fix earlier.
(Thus, I will have to close this bug without mentioning it
in the changelog.) Please just try upgrading on the next
mirror sync.

Regards,
-- 
Theppitak Karoonboonyanan
http://linux.thai.net/~thep/



--
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org