dracut-functions: install nosegneg libs additionally to standard ones

master
Harald Hoyer 2012-02-02 18:25:49 +01:00
parent fe51c4ab3c
commit dfbb922ddb
1 changed files with 5 additions and 7 deletions

View File

@ -469,13 +469,11 @@ inst_binary() {
# Prefer nosegneg libs to unoptimized ones. # Prefer nosegneg libs to unoptimized ones.
for _f in "$_tlibdir/i686/nosegneg" "$_tlibdir"; do for _f in "$_tlibdir/i686/nosegneg" "$_tlibdir"; do
[[ -e $_f/$_base ]] || continue [[ -e $_f/$_base ]] || continue
_file=$_f/$_base inst_library $_f/$_base
break break
done done
inst_library "$_file" "$_tlibdir/$_base"
else
inst_library "$_file"
fi fi
inst_library "$_file"
done done


# Install the binary if it wasn't handled in the above loop. # Install the binary if it wasn't handled in the above loop.