Browse Source

90plymouth: logo file is optional and may not exist

master
Daniel Molkentin 7 years ago committed by Harald Hoyer
parent
commit
ed2cc8c9b9
  1. 3
      modules.d/50plymouth/plymouth-populate-initrd.sh

3
modules.d/50plymouth/plymouth-populate-initrd.sh

@ -4,9 +4,10 @@ PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png" @@ -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"

Loading…
Cancel
Save