From ed2cc8c9b96438be4527dbc9f5814196554abec4 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Fri, 19 Jan 2018 21:01:41 +0100 Subject: [PATCH] 90plymouth: logo file is optional and may not exist --- modules.d/50plymouth/plymouth-populate-initrd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh index 6c184ac9..e3e0155f 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd.sh +++ b/modules.d/50plymouth/plymouth-populate-initrd.sh @@ -4,9 +4,10 @@ PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png" PLYMOUTH_THEME=$(plymouth-set-default-theme) inst_multiple plymouthd plymouth \ - "${PLYMOUTH_LOGO_FILE}" \ /etc/system-release +test -e "${PLYMOUTH_LOGO_FILE}" && inst_simple "${PLYMOUTH_LOGO_FILE}" + mkdir -m 0755 -p "${initdir}/usr/share/plymouth" inst_libdir_file "plymouth/text.so" "plymouth/details.so"