support for unusual terminfo location
PATCH 1/1 support for unusual terminfo location
Hi,
the following patch makes the 95terminfo module work on gentoo.
thanks
kind regards
Thilo
modules.d/95terminfo/install +6 -1
@@ -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)