Author: frank
Date: 2005-10-21 10:51:32 +0000 (Fri, 21 Oct 2005)
New Revision: 293

Modified:
   tetex-bin/trunk/debian/changelog
   tetex-bin/trunk/debian/postinst.functions
Log:
* Fix a path in the postinst script (closes: #334660) [frank]


Modified: tetex-bin/trunk/debian/changelog
===================================================================
--- tetex-bin/trunk/debian/changelog    2005-10-20 17:41:12 UTC (rev 292)
+++ tetex-bin/trunk/debian/changelog    2005-10-21 10:51:32 UTC (rev 293)
@@ -1,3 +1,9 @@
+tetex-bin (3.0-10.1) UNRELEASED; urgency=low
+
+  * Fix a path in the postinst script (closes: #334660) [frank]
+
+ -- Frank Küster <[EMAIL PROTECTED]>  Fri, 21 Oct 2005 12:50:06 +0200
+
 tetex-bin (3.0-10) unstable; urgency=low
 
   * Changed $progname to $scriptname in fmtutil and fmtutil-sys.  We

Modified: tetex-bin/trunk/debian/postinst.functions
===================================================================
--- tetex-bin/trunk/debian/postinst.functions   2005-10-20 17:41:12 UTC (rev 
292)
+++ tetex-bin/trunk/debian/postinst.functions   2005-10-21 10:51:32 UTC (rev 
293)
@@ -4,7 +4,9 @@
 
 sanitize_texmfcnf(){
 # sanitize /etc/texmf/texmf.cnf
-#
+
+  TEXMFD_DIR=/etc/texmf/texmf.d
+
 # First the setting of TEXMFSYSVAR
   insertedtext="% TEXMFSYSVAR *must* be set to /var/lib/texmf in Debian; the 
old \\
 % name VARTEXMF is no longer used \\
@@ -44,7 +46,7 @@
        # yes, we replace it
        sed -e "/^[[:space:]]*VARTEXMF/{i\
 $insertedtext
-;d}" texmf.d/05TeXMF.cnf > $tempfile
+;d}" $TEXMFD_DIR/05TeXMF.cnf > $tempfile
       else
        # VARTEXMF is not set, but it might occur somewhere
        if grep VARTEXMF $TEXMFCNF >/dev/null; then


_______________________________________________
Pkg-tetex-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-tetex-commits

Reply via email to