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

Norbert Preining preining-guest at costa.debian.org
Wed Aug 24 12:19:29 UTC 2005


Author: preining-guest
Date: 2005-08-24 12:19:29 +0000 (Wed, 24 Aug 2005)
New Revision: 161

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/postinst.in
Log:
rename old config files in /usr/share/texmf/web2c/


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2005-08-24 10:57:48 UTC (rev 160)
+++ tex-common/trunk/debian/changelog	2005-08-24 12:19:29 UTC (rev 161)
@@ -1,10 +1,12 @@
 tex-common (0.7) UNRELEASED; urgency=low
 
   * take over installation of /var/cache/fonts/*, /usr/local/share/texmf
-    and the ls-R links from tetex (and texlive).
-  * increase lambdas main_memory to deal with a lot of languages
+    and the ls-R links from tetex (and texlive). [preining]
+  * increase lambdas main_memory to deal with a lot of languages [preining]
+  * move old config files in /usr/share/texmf/web2c out of the way [preining]
+  * remove old formats in /usr/share/texmf/web2c [preining]
 
- -- Norbert Preining <preining at logic.at>  Tue, 23 Aug 2005 15:08:11 +0200
+ -- Norbert Preining <preining at logic.at>  Wed, 24 Aug 2005 13:35:40 +0200
 
 tex-common (0.6) unstable; urgency=low
 

Modified: tex-common/trunk/debian/postinst.in
===================================================================
--- tex-common/trunk/debian/postinst.in	2005-08-24 10:57:48 UTC (rev 160)
+++ tex-common/trunk/debian/postinst.in	2005-08-24 12:19:29 UTC (rev 161)
@@ -74,6 +74,30 @@
       fi
     fi
 
+#
+# remove left over fmt/efmt/log files in /usr/share/texmf/web2c/
+# move out of the way old config files
+# 
+    if [ -d /usr/share/texmf/web2c ] ; then
+      rm -rf /usr/share/texmf/web2c/*.fmt
+      rm -rf /usr/share/texmf/web2c/*.efmt
+      rm -rf /usr/share/texmf/web2c/*.base
+      rm -rf /usr/share/texmf/web2c/*.log
+      for cfgfile in fmtutil.cnf updmap.cfg ; do
+        $oldname = /usr/share/texmf/web2c/$cfgfile
+	$newname = /usr/share/texmf/web2c/$cfgfile.pre-upgrade
+        if [ -r $oldname ] ; then
+	  cat - > $newname <<EOF
+# This file conflicts with the new configuration location.
+# Please merge your changes to the correct location.
+
+EOF
+	  cat $oldname >> $newname
+	  rm $oldname
+	fi
+      done
+    fi
+
 # run our scripts - this way we ensure that the generated files are
 # corrected, should one of the scripts have produced buggy output in 
 # a prior version




More information about the Pkg-tetex-commits mailing list