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

bug in `cross-install'



Hi,

I like the auto download feature, thankx.  I encountered the
following error message when installing from scratch,

    Preparing /etc/hosts.
    Installing terminfo entry for mach.
    uudecode: usr/share/terminfo/m/mach: stdin: No such file or directory

This is due to trying to fix some kludge with ncurses, note that
`usr/share/terminfo/m/mach' is an _absolute_ symlink to
`/etc/terminfo/m/mach', which doesn't exist on my slink host
machine, and if it did, it would have gotten overwritten!

Anyway, here is a patch,

===================================================================
RCS file: RCS/cross-install,v
retrieving revision 1.1
diff -b -p -u -r1.1 cross-install
--- cross-install       1999-10-09 19:08:26-04  1.1
+++ cross-install       1999-10-09 19:42:16-04
@@ -485,11 +485,11 @@ if [ ! -e ${dest}/usr/share/terminfo/m ]
        install -d -m 755 -o root -g root ${dest}/share/terminfo/m
 fi
 
-if [ ! -e ${dest}/usr/share/terminfo/m/mach ] ; then
+if [ ! -e ${dest}/etc/terminfo/m/mach ] ; then
        echo Installing terminfo entry for mach.
        cd ${dest}
 uudecode << '_NIL_'
-begin 666 usr/share/terminfo/m/mach
+begin 666 etc/terminfo/m/mach
 M&@$2``D``P"E`.D`;6%C:'Q-86-H($-O;G-O;&4```$````````!`%``"``9
 M`/__```"`/____\$``<`"P#_____#P`@`"(`__\F`/____\H`/__+`#_____
 M,`#_______\T`#D`________________/@!#`/_______T@`________30#_
@@ -508,11 +508,11 @@ M&UM!``T*`!M;)7`Q)61-`!M;)7`Q)61"`!M;)7`
 end
 _NIL_
 fi
-if [ ! -e ${dest}/usr/share/terminfo/m/mach-bold ] ; then
+if [ ! -e ${dest}/etc/terminfo/m/mach-bold ] ; then
         echo Installing terminfo entry for mach-bold.
         cd ${dest}
 uudecode << '_NIL_'
-begin 666 usr/share/terminfo/m/mach-bold
+begin 666 etc/terminfo/m/mach-bold
 M&@$V``D``P"E`.\`;6%C:"UB;VQD?$UA8V@@0V]N<V]L92!W:71H(&)O;&0@
 M:6YS=&5A9"!O9B!U;F1E<FQI;F4```$````````!`%``"``9`/__```"`/__
 M__\$``<`"P#_____#P`@`"(`__\F`/____\H`/__+`#_____,`#_______\T

I am awaiting the latest hurd .deb before I proceed further.

HTH,
-- 
Jeff Sheinberg  <jeffsh@erols.com>


Reply to: