]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
plymouth: in the generic case, only install text and details themes
authorHarald Hoyer <harald@redhat.com>
Mon, 31 Aug 2009 14:38:22 +0000 (16:38 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 1 Sep 2009 13:51:51 +0000 (15:51 +0200)
modules.d/50plymouth/plymouth-populate-initrd

index 3a7a04262f848c74cb25ea38acfdf88cfe9ba151..b35a46fd1bb4c4a2f0b18db67db0606a4509f0ae 100755 (executable)
@@ -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"