[subversion-commit] SVN tetex commit + diffs: r195 - tetex-base/trunk/debian

Frank Küster frank at costa.debian.org
Wed Oct 5 09:27:25 UTC 2005


Author: frank
Date: 2005-10-05 09:27:24 +0000 (Wed, 05 Oct 2005)
New Revision: 195

Modified:
   tetex-base/trunk/debian/changelog
   tetex-base/trunk/debian/postinst.functions
Log:
- test whether obsolete pdftex.cfg has been changed before doing the transition
- add debconf-2.0 bugnumber to the existing changelog entry

Modified: tetex-base/trunk/debian/changelog
===================================================================
--- tetex-base/trunk/debian/changelog	2005-10-03 17:51:02 UTC (rev 194)
+++ tetex-base/trunk/debian/changelog	2005-10-05 09:27:24 UTC (rev 195)
@@ -3,11 +3,14 @@
   * Drop the dependency on gsfonts, we have our own copies [frank].
   * No longer set the dependency on debconf manually, use ${misc:Depends}
     instead.  This will introduce debconf-2.0 as an alternative to
-    debconf [frank].
+    debconf [frank] (closes: #332113).
   * Remove xcolor's documentation, it's in a separate package.  Thanks to
     Ralf Stubner (closes: #325891) [frank]
+  * Don't act on the obsolete pdftex.cfg file when it hasn't been changed
+    at all (closes: #324826) [frank]
+  * The ls-R files and respective symlinks now belong to tex-common.
 
- -- Frank Küster <frank at debian.org>  Wed, 31 Aug 2005 21:48:02 +0200
+ -- Frank Küster <frank at debian.org>  Tue, 27 Sep 2005 16:28:03 +0200
 
 tetex-base (3.0-7) experimental; urgency=low
 

Modified: tetex-base/trunk/debian/postinst.functions
===================================================================
--- tetex-base/trunk/debian/postinst.functions	2005-10-03 17:51:02 UTC (rev 194)
+++ tetex-base/trunk/debian/postinst.functions	2005-10-05 09:27:24 UTC (rev 195)
@@ -33,7 +33,14 @@
   newfile=/etc/texmf/generic/pdftexconfig.tex
   template=/usr/share/tetex-base/pdftexconfig.tex
 
+  # only act if the old file is there, and the new one not yet:
   test -f $oldfile && test ! -f $newfile || return 0
+  # also stop if the old file is unchanged
+  dpkg_md5sum=`grep $oldfile /var/lib/dpkg/status | cut -f 3 -d ' '`
+  actual_md5sum=`md5sum $oldfile | cut -f 1 -d ' '`
+  test "$dpkg_md5sum" != "$actual_md5sum" || return 0
+
+  # start the work
   echo -n "Using obsolete pdftex.cfg to generate pdftexconfig.tex ... "
   cp $template $newfile
 




More information about the Pkg-tetex-commits mailing list