This commit is contained in:
parent
a6bbad3f86
commit
2ac2c86d2c
1 changed files with 6 additions and 4 deletions
10
spcd/main.sh
10
spcd/main.sh
|
@ -1184,10 +1184,12 @@ spcd_banner_render() {
|
|||
spcd_banner_add_index
|
||||
spcd_banner_add "S"
|
||||
#
|
||||
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do
|
||||
if [ -n "${spcd_banner__item}" ]; then
|
||||
spcd_banner_add "${spcd_banner__item}"
|
||||
fi
|
||||
unset spcd_br__level
|
||||
while true; do
|
||||
spcd_br__level=$((spcd_br__level + 1))
|
||||
eval "spcd_br__value=\"\${SPCD_BANNER_${spcd_br__level}_LABEL}\""
|
||||
[ -n "${spcd_br__value}" ] || break
|
||||
spcd_banner_add "${spcd_br__value}"
|
||||
done
|
||||
#
|
||||
spcd_banner_close
|
||||
|
|
Loading…
Reference in a new issue