Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth

This commit is contained in:
Charles Brej 2008-11-21 17:00:46 +00:00
commit b2d8a601f2

View file

@ -34,11 +34,11 @@ function list_plugins ()
function get_default_plugin ()
{
PLUGIN_NAME=$(basename $(readlink ${LIBDIR}/plymouth/default.so) .so)
if [ -z "$PLUGIN_NAME" ]; then
if [ "$PLUGIN_NAME" = ".so" ]; then
$0 --reset
PLUGIN_NAME=$(basename $(readlink ${LIBDIR}/plymouth/default.so) .so)
fi
[ -n "$PLUGIN_NAME" ] && echo $PLUGIN_NAME || exit 1
[ "$PLUGIN_NAME" = ".so" ] || echo $PLUGIN_NAME && exit 1
}
DO_RESET=0