plymouth/make-reset-work.patch
2008-06-23 23:33:27 +00:00

13 lines
749 B
Diff

diff -up plymouth-0.4.0/scripts/plymouth-set-default-plugin.make-reset-work plymouth-0.4.0/scripts/plymouth-set-default-plugin
--- plymouth-0.4.0/scripts/plymouth-set-default-plugin.make-reset-work 2008-06-23 19:27:35.000000000 -0400
+++ plymouth-0.4.0/scripts/plymouth-set-default-plugin 2008-06-23 19:27:44.000000000 -0400
@@ -25,7 +25,7 @@ fi
PLUGIN_NAME=$1
if [ $1 = '--reset' ]; then
- PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | head -n 1) .so)
+ PLUGIN_NAME=$(basename $(ls -1 -t ${LIBDIR}/plymouth/*.so 2> /dev/null | grep -v default.so | tail -n 1) .so)
if [ $PLUGIN_NAME = .so ]; then
rm -f ${LIBDIR}/plymouth/default.so
exit 0