[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFS: thailatex (orphaned package for babel-based Thai latex support)



"Theppitak Karoonboonyanan" <thep@linux.thai.net> wrote:

> On 4/25/06, Frank Küster <frank@debian.org> wrote:
>
>> I'll not be able to do this today (I think), please remind me if I don't
>> speak up by tomorrow evening.
>
> I guess all necessary issues are covered, including texlive.
> If it still needs some more changes, just let me know.

Sorry, I found two more things while testing the upgrade.  

First, you should bump your versioned depends on tex-common to 0.19,
since you need a working dh_installtex.

Second, after the upgrade thai.map is still in /etc/texmf/dvips/ even if
the user never touched it, and will be left after purging.  At least the
second thing is actually a dpkg bug, but we still should work around it.

I suggest to put the following code into your preinst:

old_md5sum=78e5add055dd03616e5bbfbe54db6947
current_md5sum=`grep thai.map /var/lib/dpkg/status | cut -f 3 -d ' ' 2>/dev/null || true`
if [ $old_md5sum = "$current_md5sum" ]; then
   rm /etc/texmf/dvips/thai.map
fi

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)



Reply to: