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

Frank Küster frank at costa.debian.org
Fri Nov 4 13:11:12 UTC 2005


Author: frank
Date: 2005-11-04 13:11:11 +0000 (Fri, 04 Nov 2005)
New Revision: 319

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/postinst.in
   tex-common/trunk/debian/postrm.in
Log:
* In postinst, create nonexistent ls-R files with proper magic content
  if they are not already present (closes: #337073) [frank]
* Remove the ls-R symlink in TEXMFLOCAL, thanks to Lars Wirzenius
  <liw at iki.fi> (closes: #333308). [frank] 


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2005-11-04 10:54:55 UTC (rev 318)
+++ tex-common/trunk/debian/changelog	2005-11-04 13:11:11 UTC (rev 319)
@@ -4,10 +4,16 @@
     pull in too many dev packages for every normal user. [preining]
   * Fix the syntax of some eval statements in the config script (closes:
     #336951) [frank]
-  * Make sure the default for the managed ls-R files (cache) is actually
-    selected on a fresh install.
+  * In postinst, create nonexistent ls-R files with proper magic content
+    if they are not already present (closes: #337073) [frank]
+  * The config script was not idempotent, and reset the debconf default
+    for group writable ls-R files on a fresh install. [frank]
+  * Remove the ls-R symlink in TEXMFLOCAL, thanks to Lars Wirzenius
+    <liw at iki.fi> (closes: #333308). [frank] 
+  * Check for leftover .svn directories during build (closes: #327785)
+    [frank] 
 
- -- Frank Küster <frank at debian.org>  Fri,  4 Nov 2005 11:46:23 +0100
+ -- Frank Küster <frank at debian.org>  Fri,  4 Nov 2005 14:09:26 +0100
 
 tex-common (0.9) unstable; urgency=low
 

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2005-11-04 10:54:55 UTC (rev 318)
+++ tex-common/trunk/debian/postinst.in	2005-11-04 13:11:11 UTC (rev 319)
@@ -14,6 +14,7 @@
 FIRST_VERSION_WITH_UPGRADE_PATH=0.3
 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.'
 
 umask 022
 
@@ -63,19 +64,6 @@
       $UCF /usr/share/tex-common/`basename $file` /etc/texmf/$file
     done
 
-#
-# create /usr/local/share/texmf, unless the filesystem is read-only:
-# this is against policy, disable
-#    TEXMFLOCAL=/usr/local/share/texmf
-#    if [ ! -e $TEXMFLOCAL ]; then
-#      if mkdir $TEXMFLOCAL 2>/dev/null; then
-#        chmod 2775 $TEXMFLOCAL 2>/dev/null || true
-#	chown root:staff $TEXMFLOCAL 2>/dev/null || true
-#	ln -s /var/lib/texmf/ls-R-LOCAL /$TEXMFLOCAL/ls-R
-#      fi
-#    fi
-
-#
 # remove left over fmt/efmt/log files in /usr/share/texmf/web2c/
 # move out of the way old config files
 # 
@@ -122,10 +110,12 @@
       done
       for i in $truegwritefiles ; do
           lsr=`select_lsrfile $i`
+	  test -e $lsr || echo "$ls_R_magic" > $lsr 
 	  chmod g+w $lsr
       done
       for i in $falsegwritefiles ; do
           lsr=`select_lsrfile $i`
+	  test -e $lsr || echo "$ls_R_magic" > $lsr 
 	  chmod g-w $lsr
       done
       db_get tex-common/groupname || true

Modified: tex-common/trunk/debian/postrm.in
===================================================================
--- tex-common/trunk/debian/postrm.in	2005-11-04 10:54:55 UTC (rev 318)
+++ tex-common/trunk/debian/postrm.in	2005-11-04 13:11:11 UTC (rev 319)
@@ -33,8 +33,8 @@
     # purge texmf.cnf which is generated by update-texmf using ucf:
     purge_ucf_file  /etc/texmf/texmf.cnf
 
-    # remove /var/lib/texmf/web2c/*
-    # rm -f $TEXMFSYSVAR/web2c/* # nukes tetex-base's mktex.cnf
+    # remove the symlink in TEXMFLOCAL
+    rm -f /usr/local/share/texmf/ls-R
     ;;
   *)
     ;;




More information about the Pkg-tetex-commits mailing list