fixing the stupid discussion bug about update-texmf-config
Ok, only to the list.
What about that:
Index: postrm-tex
===================================================================
--- postrm-tex (revision 3968)
+++ postrm-tex (working copy)
@@ -50,7 +50,15 @@
remove|disappear)
for i in #WHATTODO# ; do
if [ "$i" = map ] ; then
- update-texmf-config updmap
+ # it might happen that tex-common is not installed and
+ # still the postrm of a package is tried to be uninstalled
+ # so don't call update-texmf-config if not present
+ # See bug report #531581
+ if which update-texmf-config >/dev/null; then
+ update-texmf-config updmap
+ else
+ echo "update-texmf-config not present: is tex-common installed?" >&2
+ fi
#dhit_libkpathsea_configured && \
# dhit_check_run_without_errors updmap-sys
fi
@@ -66,7 +74,11 @@
done
fi
if [ "$i" = language ] ; then
- update-texmf-config language
+ if which update-texmf-config >/dev/null; then
+ update-texmf-config language
+ else
+ echo "update-texmf-config not present: is tex-common installed?" >&2
+ fi
#if dhit_libkpathsea_configured && \
# which fmtutil-sys >/dev/null; then
# dhit_build_hyphen_format_if_format_exists \
???
Best wishes
Norbert
-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
SHIFNAL (n.,vb.)
An awkward shuffling walk caused by two or more people in a hurry
accidentally getting into the same segment of revolving door. A
similar effect is achieved by people entering three-legged races
unwisely joined at the neck instead of the ankles.
--- Douglas Adams, The Meaning of Liff
Reply to: