90plymouth: logo file is optional and may not exist

master
Daniel Molkentin 2018-01-19 21:01:41 +01:00 committed by Harald Hoyer
parent 421b46f8ae
commit ed2cc8c9b9
1 changed files with 2 additions and 1 deletions

View File

@ -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"