[Debian-tex-commits] SVN tex-common commit + diffs: r3013 - tex-common/trunk/scripts
Norbert Preining
preining at alioth.debian.org
Wed Jul 4 10:00:43 UTC 2007
Author: preining
Date: 2007-07-04 10:00:43 +0000 (Wed, 04 Jul 2007)
New Revision: 3013
Modified:
tex-common/trunk/scripts/dh_installtex
Log:
add comment how to deal with packages not shipping tex files but still
calling dh_installtex (see bug 400742)
Modified: tex-common/trunk/scripts/dh_installtex
===================================================================
--- tex-common/trunk/scripts/dh_installtex 2007-07-04 09:58:07 UTC (rev 3012)
+++ tex-common/trunk/scripts/dh_installtex 2007-07-04 10:00:43 UTC (rev 3013)
@@ -607,6 +607,11 @@
$uniq{$_} = 1;
}
my @foo = keys(%uniq);
+ # we should conditionally check that there are files actually
+ # installed. ie
+ # - NO additional texmf trees are given
+ # - the two dirs /var/lib/texmf and /usr/share/texmf do NOT exists
+ # then we do NOT call the texlsr calls!
autoscript($package, "postinst", "postinst-texlsr", "s|#TEXMFTREES#|@foo|");
autoscript($package, "postrm", "postrm-texlsr", "s|#TEXMFTREES#|@foo|");
if ($dothefullstuff) {
More information about the Debian-tex-commits
mailing list