6 # terminfo bits make things work better if you fall into interactive mode
7 for _terminfodir
in /lib
/terminfo
/etc
/terminfo
/usr
/share
/terminfo
; do
8 [ -f ${_terminfodir}/l
/linux
] && break
11 if [ -d ${_terminfodir} ]; then
12 for i
in "l/linux" "v/vt100" "v/vt102" "v/vt220"; do
13 inst_dir
"$_terminfodir/${i%/*}"
14 cp --reflink=auto
--sparse=auto
-prfL -t "${initdir}/${_terminfodir}/${i%/*}" "$_terminfodir/$i"