Bug#388115: Here's my patch, any comments?
tags 388115 pending
thanks
Hi,
since the commit e-mails don't seem to come throuh, here's the patch I
applied this afternoon. If nobody cries "Stop, that's incomplete", I'm
going to start testing this evening and will hopefully be able to upload
tomorrow.
Regards, Frank
Index: debian/postinst.in
===================================================================
--- debian/postinst.in (revision 1627)
+++ debian/postinst.in (working copy)
@@ -113,9 +113,6 @@
$UCF /usr/share/tetex-base/`basename $file` $file
done
-# Update language.dat (update-language is in tex-common on which we depend)
- update-language
-
# if tetex-base is upgraded while tetex-bin is already installed, we must
# call mktexlr, and regenerate the formats and font maps.
clean_texenvironment
@@ -128,8 +125,11 @@
kpsewhich --expand-var='$TEXMF' | grep -q "/usr/share/texmf" 2> /dev/null
then
mktexlsr
- # Update fontmap configuration file and language.dat
+ # Update files generated from configuration files
+ update-texmf
update-updmap
+ update-language
+ update-fmtutil
# now call updmap
create_fontmaps
# create formats
Index: debian/postrm.in
===================================================================
--- debian/postrm.in (revision 1627)
+++ debian/postrm.in (working copy)
@@ -44,8 +44,11 @@
;;
remove)
update-language
+ update-updmap
+ update-fmtutil
;;
purge)
+ update-texmf
# if these files still exist, remove them now
for file in $generated $generated_links; do
rm -f /etc/texmf/dvips/$file
Index: debian/changelog
===================================================================
--- debian/changelog (revision 1627)
+++ debian/changelog (working copy)
@@ -1,10 +1,13 @@
-tetex-base (3.0-22~1) unstable; urgency=medium
+tetex-base (3.0-22~1) unstable; urgency=high
* Fixed patch target in debian/rules to not remove one of its
prerequisites, thanks to Max Kellermann <max@duempel.org> (closes:
#388067) [frank]
+ * Add proper invocations of update-language, and also of the other
+ update scripts, to tetex-base's maintainer scripts (closes: #388115)
+ [frank]
- -- Frank Küster <frank@debian.org> Tue, 19 Sep 2006 12:50:06 +0200
+ -- Frank Küster <frank@debian.org> Mon, 25 Sep 2006 14:52:56 +0200
tetex-base (3.0-21) unstable; urgency=medium
--
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: