]> git.pld-linux.org Git - packages/dracut.git/blame - plymouth-logo.patch
Only install plymouth logo file if it exists
[packages/dracut.git] / plymouth-logo.patch
CommitLineData
ec2adbc4
JR
1--- dracut-020/modules.d/50plymouth/plymouth-populate-initrd.sh~ 2012-08-09 13:49:07.894845601 +0200
2+++ dracut-020/modules.d/50plymouth/plymouth-populate-initrd.sh 2012-08-09 13:50:43.211508906 +0200
3@@ -6,9 +6,10 @@
4
5 inst /sbin/plymouthd /bin/plymouthd
6 dracut_install /bin/plymouth \
7- "${PLYMOUTH_LOGO_FILE}" \
8 /etc/os-release
9
10+[[ -f "${PLYMOUTH_LOGO_FILE}" ]] && dracut_install "${PLYMOUTH_LOGO_FILE}"
11+
12 mkdir -m 0755 -p "${initdir}/usr/share/plymouth"
13
14 inst_libdir_file "plymouth/text.so" "plymouth/details.so"
This page took 0.03934 seconds and 4 git commands to generate.