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

Bug#267886: tetex-extra: the package doesn't install cleanly. fmtutil error



On 25.08.04 Frank Küster (frank@debian.org) wrote:
> Hilmar Preusse <hille42@web.de> wrote:

Hi,

> > Hi all: Perhaps we should check in postin of tetex-bin, whether there
> > is a broken language.dat and fix it using sed. 
> 
> We must.
> 
Patch attached. I put it exactly at the place in postin of tetex-bin,
where you push the ukhyphen entry out of language.dat.

tetex-bin_2.0.2-19.diff.gz contains too .#change~g.1.153,
.#control.1.55 *.cachefonts. Is there any sense in having these
files?

Regards,
  H. 
-- 
sigmentation fault
--- postinst.orig	2004-08-25 12:38:09.000000000 +0000
+++ postinst	2004-08-25 12:43:21.000000000 +0000
@@ -447,6 +447,11 @@
       chown --reference=$CUR_LDAT $tempfile
       chmod --reference=$CUR_LDAT $tempfile
       mv $tempfile $CUR_LDAT
+      tempfile=`mktemp`
+      sed 's@^\(For use with ngerman\)@\% \1@' < $CUR_LDAT > $tempfile
+      chown --reference=$CUR_LDAT $tempfile
+      chmod --reference=$CUR_LDAT $tempfile
+      mv $tempfile $CUR_LDAT
     fi
   fi
 fi

Reply to: