parent
70eaf4bba3
commit
a1ef8cab40
1 changed files with 4 additions and 2 deletions
|
@ -1106,11 +1106,14 @@ spcd_banner() {
|
||||||
spcd_banner__index="${spcd_banner__index}.${SPCD_SUBSTEP}"
|
spcd_banner__index="${spcd_banner__index}.${SPCD_SUBSTEP}"
|
||||||
spcd_banner_add "${spcd_banner__index}"
|
spcd_banner_add "${spcd_banner__index}"
|
||||||
#
|
#
|
||||||
|
spcd_banner_split
|
||||||
spcd_banner_add "S"
|
spcd_banner_add "S"
|
||||||
#
|
#
|
||||||
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do
|
for spcd_banner__item in "${SPCD_STEP_TEXT}" "${SPCD_SUBSTEP_TEXT}"; do
|
||||||
[ -n "${spcd_banner__item}" ] &&
|
if [ -n "${spcd_banner__item}" ]; then
|
||||||
|
spcd_banner_split
|
||||||
spcd_banner_add "${spcd_banner__item}"
|
spcd_banner_add "${spcd_banner__item}"
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
#
|
#
|
||||||
spcd_banner_close
|
spcd_banner_close
|
||||||
|
@ -1124,7 +1127,6 @@ spcd_banner_add() {
|
||||||
spcd_ba__text=" ${1} "
|
spcd_ba__text=" ${1} "
|
||||||
spcd_ba__length=${#spcd_ba__text}
|
spcd_ba__length=${#spcd_ba__text}
|
||||||
spcd_ba__filler="$(spcd_fill "${spcd_ba__length}" ─)"
|
spcd_ba__filler="$(spcd_fill "${spcd_ba__length}" ─)"
|
||||||
spcd_banner_split
|
|
||||||
spcd_banner_append \
|
spcd_banner_append \
|
||||||
"${spcd_ba__filler}" "${spcd_ba__text}" "${spcd_ba__filler}"
|
"${spcd_ba__filler}" "${spcd_ba__text}" "${spcd_ba__filler}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue