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

Bug#376117: tetex-bin: Wrong regexp in postinst.functions



Package: tetex-bin
Version: 3.0-17
Tags: patch

Hi Frank!

I just merged the current Ubuntu and Debian package again and found
one patch left that should be applied in Debian:

--- tetex-bin-3.0/debian/postinst.functions
+++ tetex-bin-3.0/debian/postinst.functions
@@ -76,7 +76,7 @@
 my (\$found, \$written) = (0,0);
 while (<MYFILE>){
 print;
-if (! \$found && /^%%% From file: /etc/texmf/texmf.d/05TeXMF.cnf/){\$found=1}
+if (! \$found && m!^%%% From file: /etc/texmf/texmf.d/05TeXMF.cnf!){\$found=1}
 if (\$found && ! \$written && /^\$/){
 \$written=1;
 print qq(\$insertedtext);

This fixes https://launchpad.net/bugs/33449.

Thanks,

Martin
-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?

Attachment: signature.asc
Description: Digital signature


Reply to: