[Debian-tex-commits] SVN tex-common commit + diffs: r2721 - in
tex-common/trunk: debian scripts
Norbert Preining
preining at alioth.debian.org
Thu Apr 19 13:50:47 UTC 2007
Author: preining
Date: 2007-04-19 13:50:46 +0000 (Thu, 19 Apr 2007)
New Revision: 2721
Modified:
tex-common/trunk/debian/changelog
tex-common/trunk/scripts/dh_installtex
tex-common/trunk/scripts/postinst-tex
Log:
* rework the code generated by dh_installtex in the postinst script.
Now at postinst/configure time fmtutil-sys is called with
--all --cnffile <file>
where <file> are the fmt.d config files installed by the package. This
way a dpkg-reconfigure will create *all* formats defined in the config
file, even if the sysadm has defined additional formats.
(Closes: #418983) [np]
Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog 2007-04-18 09:01:27 UTC (rev 2720)
+++ tex-common/trunk/debian/changelog 2007-04-19 13:50:46 UTC (rev 2721)
@@ -1,8 +1,15 @@
-tex-common (1.8) UNRELEASED; urgency=low
+tex-common (1.8~1) unstable; urgency=low
* make proper ucfr checking in maintainer scripts (Closes: #409897) [np]
+ * rework the code generated by dh_installtex in the postinst script.
+ Now at postinst/configure time fmtutil-sys is called with
+ --all --cnffile <file>
+ where <file> are the fmt.d config files installed by the package. This
+ way a dpkg-reconfigure will create *all* formats defined in the config
+ file, even if the sysadm has defined additional formats.
+ (Closes: #418983) [np]
- -- Norbert Preining <preining at debian.org> Mon, 16 Apr 2007 16:07:58 +0200
+ -- Norbert Preining <preining at debian.org> Wed, 18 Apr 2007 10:18:47 +0200
tex-common (1.7) unstable; urgency=low
Modified: tex-common/trunk/scripts/dh_installtex
===================================================================
--- tex-common/trunk/scripts/dh_installtex 2007-04-18 09:01:27 UTC (rev 2720)
+++ tex-common/trunk/scripts/dh_installtex 2007-04-19 13:50:46 UTC (rev 2721)
@@ -601,7 +601,7 @@
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|");
+ autoscript($package, "postinst", "postinst-tex", "s|#FORMATSFILES#|@listlines|; s|#WHATTODO#|@whattodo|");
autoscript($package, "postrm", "postrm-tex", "s|#FORMATS#|@postrmfmtdata|; s|#WHATTODO#|@whattodo|");
}
}
Modified: tex-common/trunk/scripts/postinst-tex
===================================================================
--- tex-common/trunk/scripts/postinst-tex 2007-04-18 09:01:27 UTC (rev 2720)
+++ tex-common/trunk/scripts/postinst-tex 2007-04-19 13:50:46 UTC (rev 2721)
@@ -59,8 +59,8 @@
{
tempfile=$(mktemp -p /tmp fmtutil.XXXXXXXX)
- printf "Building format(s) $1 $(basename "$2"). This may take some time... "
- if fmtutil-sys "$1" "$2" > $tempfile 2>&1 ; then
+ printf "Building format(s) $@. This may take some time... "
+ if fmtutil-sys "$@" > $tempfile 2>&1 ; then
rm -f $tempfile
echo "done."
else
@@ -90,8 +90,8 @@
dhit_build_format --all
fi
if [ "$i" = format ] ; then
- for fmt in #FORMATS# ; do
- dhit_build_format --byfmt $fmt
+ for fmt in #FORMATSFILES# ; do
+ dhit_build_format --all --cnffile "/etc/texmf/fmt.d/$fmt.cnf"
done
fi
if [ "$i" = language ] ; then
More information about the Debian-tex-commits
mailing list