From 0efc6c716a0f4e0def943e3c661decc75fe6f958 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 18 Jun 2012 13:45:13 +0200 Subject: [PATCH] plymouth: fixed inst_libdir_file() call https://bugzilla.redhat.com/show_bug.cgi?id=831349 --- modules.d/50plymouth/plymouth-populate-initrd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh index 7ab1a5d..1e2ffe7 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd.sh +++ b/modules.d/50plymouth/plymouth-populate-initrd.sh @@ -11,8 +11,9 @@ dracut_install /bin/plymouth \ mkdir -m 0755 -p "${initdir}/usr/share/plymouth" +inst_libdir_file "plymouth/text.so" "plymouth/details.so" + if [[ $hostonly ]]; then - inst_libdir_file "plymouth/text.so" "plymouth/details.so" dracut_install \ "/usr/share/plymouth/themes/details/details.plymouth" \ "/usr/share/plymouth/themes/text/text.plymouth" \ @@ -37,7 +38,6 @@ else mkdir -m 0755 -p "${initdir}/$THEME_DIR" dracut_install "$x" done - inst_libdir_file "/plymouth/{text,details}.so" ( cd ${initdir}/usr/share/plymouth/themes; ln -s text/text.plymouth default.plymouth 2>&1;