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

Norbert Preining preining-guest at costa.debian.org
Mon Sep 26 13:27:31 UTC 2005


Author: preining-guest
Date: 2005-09-26 13:27:30 +0000 (Mon, 26 Sep 2005)
New Revision: 184

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/postrm.in
Log:
remove TEXMFSYSVAR and /var/cache/fonts at remove time


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2005-08-31 19:51:46 UTC (rev 183)
+++ tex-common/trunk/debian/changelog	2005-09-26 13:27:30 UTC (rev 184)
@@ -2,6 +2,8 @@
 
   * Change hyph_size to 8191 - according to DEK it should be a prime
     number.  [frank]
+  * Modify postrm.in script to remove TEXMFSYSVAR and /var/cache/fonts
+    (thus also removing left over files at purge time) [preining]
 
  -- Frank Küster <frank at debian.org>  Wed, 24 Aug 2005 20:40:48 +0200
 

Modified: tex-common/trunk/debian/postrm.in
===================================================================
--- tex-common/trunk/debian/postrm.in	2005-08-31 19:51:46 UTC (rev 183)
+++ tex-common/trunk/debian/postrm.in	2005-09-26 13:27:30 UTC (rev 184)
@@ -19,15 +19,11 @@
 ## do the things we have to do always
 case $action in
   remove)
-    # remove /var/lib/texmf/web2c/*
-    rm -f $TEXMFSYSVAR/web2c/* 
-    rm -f $TEXMFSYSVAR/tex/generic/config/language.dat
-    rm -f $TEXMFSYSVAR/ls-R-LOCAL
-
-    # now remove the directory
-    # (if we were installed with an old version of tetex-base, the other package
-    # might have deleted it already)
-    test -d /var/lib/texmf && rmdir --ignore-fail-on-non-empty /var/lib/texmf || true
+    # remove TEXMFSYSVAR: All files and dirs are created either by
+    # us, or by packages depending on us.
+    rm -rf $TEXMFSYSVAR
+    # same with /var/cache/fonts
+    rm -rf /var/cache/fonts
     ;;
   purge)
     # purge texmf_parts




More information about the Pkg-tetex-commits mailing list