From b809e77f540019021862878286fb91af09391eb3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 31 Aug 2009 16:38:22 +0200 Subject: [PATCH] plymouth: in the generic case, only install text and details themes --- modules.d/50plymouth/plymouth-populate-initrd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/50plymouth/plymouth-populate-initrd b/modules.d/50plymouth/plymouth-populate-initrd index 3a7a04262..b35a46fd1 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd +++ b/modules.d/50plymouth/plymouth-populate-initrd @@ -34,13 +34,13 @@ if [[ $hostonly ]]; then inst ${LIBDIR}/plymouth/${PLYMOUTH_PLUGIN}.so fi else - for x in /usr/share/plymouth/themes/*/* ; do + for x in /usr/share/plymouth/themes/{text,details}/* ; do [[ -f "$x" ]] || continue THEME_DIR=$(dirname "$x") mkdir -p "${initdir}/$THEME_DIR" dracut_install "$x" done - for x in ${LIBDIR}/plymouth/*.so ; do + for x in ${LIBDIR}/plymouth/{text,details}.so ; do [[ -f "$x" ]] || continue [[ "$x" != "${x%%/label.so}" ]] && continue dracut_install "$x" -- 2.47.3