From 7bf26d686e5c4588c2cca1f78bfb6d5ab4b9333f Mon Sep 17 00:00:00 2001 From: B Stack Date: Wed, 11 Sep 2019 14:59:55 -0400 Subject: plymouth 0.9.4 without systemd --- plymouth/debian/patches/0004-return-code.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plymouth/debian/patches/0004-return-code.patch (limited to 'plymouth/debian/patches/0004-return-code.patch') diff --git a/plymouth/debian/patches/0004-return-code.patch b/plymouth/debian/patches/0004-return-code.patch new file mode 100644 index 0000000..3623745 --- /dev/null +++ b/plymouth/debian/patches/0004-return-code.patch @@ -0,0 +1,14 @@ +Author: Michael Prokop +Description: Fixing wrong return code of plymouth-set-default-theme (Closes: #605018). + +--- a/scripts/plymouth-set-default-theme.in ++++ b/scripts/plymouth-set-default-theme.in +@@ -184,5 +184,7 @@ grep -q '^[[]Daemon[]]' ${PLYMOUTH_CONFD + sed -i -e '/^Theme[[:blank:]]*=.*/d' ${PLYMOUTH_CONFDIR}/plymouthd.conf + sed -i -e "s/^\([[]Daemon[]]\)\n*/\1\nTheme=${THEME_NAME}/" ${PLYMOUTH_CONFDIR}/plymouthd.conf + +-[ $DO_INITRD_REBUILD -ne 0 ] && (${PLYMOUTH_LIBEXECDIR}/plymouth/plymouth-update-initrd) ++if [ $DO_INITRD_REBUILD -ne 0 ] ; then ++ (${PLYMOUTH_LIBEXECDIR}/plymouth/plymouth-update-initrd) ++fi + exit 0 -- cgit