mirror of
https://gitlab.freedesktop.org/plymouth/plymouth.git
synced 2026-05-07 18:58:01 +02:00
Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth
This commit is contained in:
commit
b2d8a601f2
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue