diff options
author | B Stack <bgstack15@gmail.com> | 2019-09-15 01:40:06 +0000 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2019-09-15 01:40:06 +0000 |
commit | f2dff3ec0939afc06060528e453a86f3045a73a9 (patch) | |
tree | 37d52e919c9b407b9783b388aa6706ad31a0c931 /plymouth/debian/patches/0004-return-code.patch | |
parent | Merge branch 'chicago95-bump' into 'master' (diff) | |
parent | fix maintainer (diff) | |
download | stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.gz stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.tar.bz2 stackrpms-f2dff3ec0939afc06060528e453a86f3045a73a9.zip |
Merge branch 'plymouth-bump' into 'master'
Add plymouth
See merge request bgstack15/stackrpms!87
Diffstat (limited to 'plymouth/debian/patches/0004-return-code.patch')
-rw-r--r-- | plymouth/debian/patches/0004-return-code.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 <mika@debian.org> +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 |