From: Harald Hoyer Date: Mon, 13 Feb 2012 20:15:51 +0000 (+0100) Subject: 95terminfo/module-setup.sh: check for terminfo/l/linux X-Git-Tag: 016~20 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e76921a58eb49c55a15c461a74d358de642ffe88;p=thirdparty%2Fdracut.git 95terminfo/module-setup.sh: check for terminfo/l/linux on Fedora 17 the old check found /etc/terminfo, but this directory is emtpy. --- diff --git a/modules.d/95terminfo/module-setup.sh b/modules.d/95terminfo/module-setup.sh index 637738921..5a16082db 100755 --- a/modules.d/95terminfo/module-setup.sh +++ b/modules.d/95terminfo/module-setup.sh @@ -6,7 +6,7 @@ install() { local _terminfodir # terminfo bits make things work better if you fall into interactive mode for _terminfodir in /lib/terminfo /etc/terminfo /usr/share/terminfo; do - [ -d ${_terminfodir} ] && break + [ -f ${_terminfodir}/l/linux ] && break done if [ -d ${_terminfodir} ]; then