Skip to content

Commit

Permalink
terminfo: only install l/linux v/vt100 and v/vt220
Browse files Browse the repository at this point in the history
  • Loading branch information
haraldh committed Jul 5, 2013
1 parent 1e057b3 commit 4aca001
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions modules.d/95terminfo/module-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ install() {
done

if [ -d ${_terminfodir} ]; then
inst_dir "$_terminfodir"
cp --reflink=auto --sparse=auto -prfL -t "${initdir}/${_terminfodir}" "$_terminfodir"/*
for i in "l/linux" "v/vt100" "v/vt220"; do
inst_dir "$_terminfodir/${i%/*}"
cp --reflink=auto --sparse=auto -prfL -t "${initdir}/${_terminfodir}/${i%/*}" "$_terminfodir/$i"
done
fi
}

0 comments on commit 4aca001

Please sign in to comment.