[Debian-tex-commits] SVN tex-common commit + diffs: r2677 - in tex-common/trunk: debian scripts

Norbert Preining preining at alioth.debian.org
Fri Apr 13 07:28:26 UTC 2007


Author: preining
Date: 2007-04-13 07:28:25 +0000 (Fri, 13 Apr 2007)
New Revision: 2677

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/scripts/dh_installtex
Log:
reverse order of postrm autoscripts snippets, closes 418984


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2007-04-13 07:00:24 UTC (rev 2676)
+++ tex-common/trunk/debian/changelog	2007-04-13 07:28:25 UTC (rev 2677)
@@ -1,4 +1,4 @@
-tex-common (1.6~1) unstable; urgency=low
+tex-common (1.6) unstable; urgency=low
 
   * Document in NEWS.Debian that support for ls-R in TEXMFHOME has been
     dropped [fk]
@@ -6,8 +6,10 @@
   * Policy: Add a chapter on meta-packages and document that they are
     usually not acceptable as dependencies
 
- -- Frank Küster <frank at debian.org>  Wed, 11 Apr 2007 13:16:17 +0200
+  * reverse the order of autoscripts snippets in postrm (Closes: #418984)
 
+ -- Norbert Preining <preining at debian.org>  Fri, 13 Apr 2007 09:21:21 +0200
+
 tex-common (1.5) unstable; urgency=low
 
   * fix missing tetex component of TEXMFDIST (Closes: #418674)

Modified: tex-common/trunk/scripts/dh_installtex
===================================================================
--- tex-common/trunk/scripts/dh_installtex	2007-04-13 07:00:24 UTC (rev 2676)
+++ tex-common/trunk/scripts/dh_installtex	2007-04-13 07:28:25 UTC (rev 2677)
@@ -599,11 +599,16 @@
 		}
 		my @foo = keys(%uniq);
 		autoscript($package, "postinst", "postinst-texlsr", "s|#TEXMFTREES#|@foo|");
-		autoscript($package, "postrm",   "postrm-texlsr", "s|#TEXMFTREES#|@foo|");
 		if ($dothefullstuff) {
 			autoscript($package, "postinst", "postinst-tex", "s|#FORMATS#|@fmtdata|; s|#WHATTODO#|@whattodo|");
+		}
+		# in the postrm case the autoscript snippets are added in
+		# inverse order, but we NEED it in the first texlsr then tex
+		# in the file!
+		if ($dothefullstuff) {
 			autoscript($package, "postrm",   "postrm-tex", "s|#FORMATS#|@postrmfmtdata|; s|#WHATTODO#|@whattodo|");
 		}
+		autoscript($package, "postrm",   "postrm-texlsr", "s|#TEXMFTREES#|@foo|");
 	}
 
 	addsubstvar($package, "misc:Depends", "tex-common", ">= 0.7");




More information about the Debian-tex-commits mailing list