Fixed installation of multiple drivers and text tables in Dracut module

if environment variables are used
This commit is contained in:
Jaroslav Škarvada 2018-06-08 11:49:22 +02:00
parent e9a26eff81
commit 18d2682da3
2 changed files with 7 additions and 3 deletions

View File

@ -33,7 +33,7 @@
Name: brltty
Version: %{pkg_version}
Release: 19%{?dist}
Release: 20%{?dist}
License: LGPLv2+
URL: http://brltty.app/
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
@ -537,6 +537,10 @@ fi
%{_prefix}/lib/dracut/modules.d/99brltty/
%changelog
* Fri Jun 8 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-20
- Fixed installation of multiple drivers and text tables in Dracut module
if environment variables are used
* Mon Jun 4 2018 Jaroslav Škarvada <jskarvad@redhat.com> - 5.6-19
- Fixed Dracut module requirements

View File

@ -45,13 +45,13 @@ install() {
if [ "$BRLTTY_DRACUT_INCLUDE_DRIVERS" ]; then
for word in $BRLTTY_DRACUT_INCLUDE_DRIVERS; do
inst_libdir_file "brltty/libbrltty$BRLTTY_DRACUT_INCLUDE_DRIVERS.so*"
inst_libdir_file "brltty/libbrltty$word.so*"
done
fi
if [ "$BRLTTY_DRACUT_INCLUDE_TEXT_FILES" ]; then
for word in $BRLTTY_DRACUT_INCLUDE_TEXT_FILES; do
inst "/etc/brltty/Text/$BRLTTY_DRACUT_INCLUDE_DATA_FILES"
inst "/etc/brltty/Text/$word"
done
fi