[subversion-commit] SVN tex-common commit + diffs: r896 - tex-common/trunk/debian

Frank Küster frank at costa.debian.org
Thu Feb 16 16:51:01 UTC 2006


Author: frank
Date: 2006-02-16 16:51:00 +0000 (Thu, 16 Feb 2006)
New Revision: 896

Modified:
   tex-common/trunk/debian/postinst.in
Log:
remove ls-R handling, it's not needed

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2006-02-16 16:28:07 UTC (rev 895)
+++ tex-common/trunk/debian/postinst.in	2006-02-16 16:51:00 UTC (rev 896)
@@ -13,13 +13,7 @@
 #UCF="ucf -d --debconf-ok --verbose"
 OLD_LDAT=/etc/texmf/language.dat
 POSTINST_MOVE_EXT="<:=$POSTINST_MOVE_EXT:>"
-ls_R_magic='% ls-R -- filename database for kpathsea; do not change this line.
-./:
-.:
-ls-R
-'
 FONTCACHE_PERMS=<:=$FONTCACHE_PERMS:>
-FONTCACHE_LSR=/var/cache/fonts/ls-R
 
 
 umask 022
@@ -128,9 +122,6 @@
       GROUP="$RET"
       if [ -n "$GROUP" ] ; then
 	echo -n "Adjusting permissions of TeX font cache ... "
-	test -e $FONTCACHE_LSR || echo "$ls_R_magic" > $FONTCACHE_LSR
-	chmod 664 $FONTCACHE_LSR
-	chown ":$GROUP" $FONTCACHE_LSR
         find /var/cache/fonts -type d -print0 | xargs -0r chmod $FONTCACHE_PERMS
 	find /var/cache/fonts -type d -print0 | xargs -0r chown "root:$GROUP"
 	echo "done."




More information about the Pkg-tetex-commits mailing list