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