[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#139054: tetex-bin: Unexpected exit 1 from texlinks



Package: tetex-bin
Version: 1.0.6-7
Severity: normal
Tags: patch

When texlinks is invokes from the xmltex post-install script, it exits
1 causing the post-install of xmltex to fail. Furthermore, it does not
update symlinks when fmtutil.cnf is changed. This patch addresses both
problems:

--- texlinks~	Tue Mar 19 11:24:17 2002
+++ texlinks	Tue Mar 19 11:32:13 2002
@@ -94,7 +94,7 @@
         ;;
     esac
   else
-    verbose_do ln -s "$dest" "$src"
+    verbose_do ln -s -f "$dest" "$src"
   fi
 }
 
@@ -126,7 +126,7 @@
 ###############################################################################
 upd_symlinkdir()
 {
-  search_symlinkdir || return
+  search_symlinkdir || return 0
   for i in `sed 's@ .*@@' cnf_file_ln.$$`; do
     install_link "$selfautoloc/$i" "$symlinkdir/$i"
   done

-- System Information
Debian Release: 3.0
Architecture: sparc
Kernel: Linux bench 2.2.20 #1 Fri Nov 16 16:45:18 EST 2001 sparc64
Locale: LANG=C, LC_CTYPE=C

Versions of packages tetex-bin depends on:
ii  debianutils             1.16             Miscellaneous utilities specific t
ii  dpkg-perl               0.1-3.0          Perl interface modules for dpkg
ii  ed                      0.2-19           The classic unix line editor
ii  libc6                   2.2.5-3          GNU C Library: Shared libraries an
ii  libpng2                 1.0.12-3         PNG library - runtime
ii  libstdc++2.10           1:2.95.2-13      The GNU stdc++ library
ii  tetex-base              1.0.2+20011202-2 basic teTeX library files
ii  tetex-lib               1.0.6-7          shared libkpathsea for teTeX
ii  xlib6g                  4.1.0-14         pseudopackage providing X librarie
ii  zlib1g [libz1]          1:1.1.4-1        compression library - runtime




Reply to: