[Debian-tex-commits] SVN make-texfontpkg commit + diffs: r3269 - make-texfontpkg/trunk/scripts

Ralf Stubner stubner-guest at alioth.debian.org
Wed Jan 30 21:55:24 UTC 2008


Author: stubner-guest
Date: 2008-01-30 21:55:23 +0000 (Wed, 30 Jan 2008)
New Revision: 3269

Modified:
   make-texfontpkg/trunk/scripts/mk-tex-fontpack
Log:
fixing 'texonly' option

Modified: make-texfontpkg/trunk/scripts/mk-tex-fontpack
===================================================================
--- make-texfontpkg/trunk/scripts/mk-tex-fontpack	2008-01-26 09:59:09 UTC (rev 3268)
+++ make-texfontpkg/trunk/scripts/mk-tex-fontpack	2008-01-30 21:55:23 UTC (rev 3269)
@@ -16,7 +16,7 @@
 if [ "$DEBFULLNAME" ] ; then
     name=$DEBFULLNAME
 else
-    name=$(awk --field-separator : "/$LOGNAME/ {print \\$5}" /etc/passwd)
+    name=$(awk --field-separator : "/$LOGNAME/ {print \$5}" /etc/passwd)
 fi
 
 if [ "$DEBEMAIL" ] ; then
@@ -106,7 +106,7 @@
             nn=$(echo $f | sed -e "s|$tdsdir/||")
             fontfiles="$fontfiles $nn"
             if $texonly; then
-                nn="usr/share/$nn"
+                nn="usr/share/texmf/$nn"
             else
                 nn="usr/share/fonts/type1/$packname/$(basename $nn)"
             fi
@@ -116,7 +116,7 @@
             nn=$(echo $f | sed -e "s|$tdsdir/||")
             afmfiles="$afmfiles $nn"
             if $texonly; then
-                nn="usr/share/$nn"
+                nn="usr/share/texmf/$nn"
             else
                 nn="usr/share/fonts/type1/$packname/$(basename $nn)"
             fi
@@ -165,7 +165,7 @@
         f=$(basename $texmffile)
         cat >> $tmpdir/debian/$packname.links <<EOF
 /usr/share/fonts/type1/$packname/$f  /usr/share/texmf/$texmffile
-/usr/share/fonts/type1/$packname/$f /usr/X11R6/lib/X11/fonts/Type1/$f
+/usr/share/fonts/type1/$packname/$f /usr/share/fonts/X11/Type1/$f
 EOF
     done
     mkdir -p $tmproot/etc/X11/fonts/Type1




More information about the Debian-tex-commits mailing list