From: Harald Hoyer Date: Mon, 31 Aug 2009 14:38:22 +0000 (+0200) Subject: plymouth: in the generic case, only install text and details themes X-Git-Tag: 001~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b809e77f540019021862878286fb91af09391eb3;p=thirdparty%2Fdracut.git plymouth: in the generic case, only install text and details themes --- 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"