Browse Source

support for unusual terminfo location

the following patch makes the 95terminfo module work on gentoo.
master
Thilo Bangert 16 years ago committed by Harald Hoyer
parent
commit
a15ad925e9
  1. 7
      modules.d/95terminfo/install

7
modules.d/95terminfo/install

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
#!/bin/bash
# terminfo bits make things work better if you fall into interactive mode
dracut_install $(find /lib/terminfo -type f)
TERMINFODIR="/lib/terminfo"

[ ! -d ${TERMINFODIR} -a -d "/etc/terminfo" ] && \
TERMINFODIR="/etc/terminfo"

dracut_install $(find ${TERMINFODIR} -type f)

Loading…
Cancel
Save