95terminfo/module-setup.sh: no need to call "find"
authorHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 15:51:35 +0000 (16:51 +0100)
committerHarald Hoyer <harald@redhat.com>
Sat, 25 Feb 2012 16:09:15 +0000 (17:09 +0100)
modules.d/95terminfo/module-setup.sh

index aec3582..32a3fe9 100755 (executable)
@@ -10,7 +10,7 @@ install() {
     done
 
     if [ -d ${_terminfodir} ]; then
-        for f in $(find ${_terminfodir} -type f); do
+        for f in ${_terminfodir}/*/*; do
             inst_simple $f
         done
     fi