From: Eric Curtin Date: Fri, 1 Apr 2022 13:13:23 +0000 (+0100) Subject: scripts: plymouth-set-default-theme reporting missing right brace X-Git-Tag: 23.51.283~92^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=123ca59cf286f03ce11f9f06bcf837071d5d15df;p=thirdparty%2Fplymouth.git scripts: plymouth-set-default-theme reporting missing right brace Fixes issue: /usr/sbin/plymouth-set-default-theme: line 199: [: missing `]' when executed as plymouth-set-default-theme spinner --- diff --git a/scripts/plymouth-set-default-theme.in b/scripts/plymouth-set-default-theme.in index 5e978eb5..4af16245 100755 --- a/scripts/plymouth-set-default-theme.in +++ b/scripts/plymouth-set-default-theme.in @@ -196,7 +196,7 @@ if [ $DO_RESET -ne 0 ]; then [ $DO_INITRD_REBUILD -eq 0 ] && exit 0 fi -if [ $DO_INITRD_REBUILD -ne 0 -a -z $THEME_NAME]; then +if [ $DO_INITRD_REBUILD -ne 0 -a -z $THEME_NAME ]; then THEME_NAME=$(get_default_theme) fi