terminfo/module-setup.sh: speedup install() of all terminfo

master
Harald Hoyer 2012-06-22 15:29:04 +02:00
parent a0df73b493
commit 3aa221aa1d
1 changed files with 2 additions and 4 deletions

View File

@ -10,9 +10,7 @@ install() {
done

if [ -d ${_terminfodir} ]; then
for f in ${_terminfodir}/*/*; do
inst_simple $f
done
inst_dir "$_terminfodir"
cp --reflink=auto --sparse=auto -prfL -t "${initdir}/${_terminfodir%/*}" "$_terminfodir"
fi
}