summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2012-06-22 15:29:04 +0200
committerHarald Hoyer <harald@redhat.com>2012-06-29 12:41:26 +0200
commit3aa221aa1d7bcaa2ab4ebeffea814990d4e72e8f (patch)
tree0c37a01fbf3e56d8eb5679aa38f68e0e3f1b0338
parenta0df73b493dc2c9ed28364ee231fad7741066619 (diff)
downloaddracut-3aa221aa1d7bcaa2ab4ebeffea814990d4e72e8f.tar.gz
dracut-3aa221aa1d7bcaa2ab4ebeffea814990d4e72e8f.tar.bz2
dracut-3aa221aa1d7bcaa2ab4ebeffea814990d4e72e8f.zip
terminfo/module-setup.sh: speedup install() of all terminfo
-rwxr-xr-xmodules.d/95terminfo/module-setup.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/modules.d/95terminfo/module-setup.sh b/modules.d/95terminfo/module-setup.sh
index 32a3fe90..e1914a5a 100755
--- a/modules.d/95terminfo/module-setup.sh
+++ b/modules.d/95terminfo/module-setup.sh
@@ -10,9 +10,7 @@ install() {
done
if [ -d ${_terminfodir} ]; then
- for f in ${_terminfodir}/*/*; do
- inst_simple $f
- done
+ inst_dir "$_terminfodir"
+ cp --reflink=auto --sparse=auto -prfL -t "${initdir}/${_terminfodir%/*}" "$_terminfodir"
fi
}
-