Bug#182215: tetex-bin: updmap hangs, if a map-file is not present
Package: tetex-bin
Version: 2.0.1-2
Severity: important
Tags: patch
I recompiled the tetex-packages and when i tried to install them, they failed:
If a map file is not present, the cat in transLW35 will be called without any
parameter, so updmap waits for input on stdin and hangs.
Because tetex-base calls this script in postinst, tetex-base is not installable.
The map files seem to disappear after a purge of the tetex packages.
This workaround works for me:
--- tetex-bin-2.0.1.orig/texk/tetex/updmap
+++ tetex-bin-2.0.1/texk/tetex/updmap
@@ -173,6 +173,9 @@
###############################################################################
transLW35()
{
+if [ "x$@" = "x" ];then
+echo
+else
case $mode in
""|URWkb)
cat ${1+"$@"}
@@ -184,6 +187,7 @@
psADOBE ${1+"$@"} | file$mode
;;
esac
+fi
}
###############################################################################
Martin Kögler
e9925248@stud4.tuwien.ac.at
Reply to: