diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 4e3b7a2..2dc6382 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -4,6 +4,15 @@ # │ _ │ # ╰───╯ +_SPCD_BOX_DOWN_AND_HORIZONTAL="┬" +_SPCD_BOX_DOWN_AND_LEFT="╮" +_SPCD_BOX_DOWN_AND_RIGHT="╭" +_SPCD_BOX_HORIZONTAL="─" +_SPCD_BOX_UP_AND_HORIZONTAL="┴" +_SPCD_BOX_UP_AND_LEFT="╯" +_SPCD_BOX_UP_AND_RIGHT="╰" +_SPCD_BOX_VERTICAL="│" + _SPCD_CMD_SUM="sha512sum" _spcd_fill() { @@ -18,14 +27,14 @@ _spcd_fill() { # │ _ │ banner │ # ╰───┴────────╯ -_SPCD_BANNER_DOWN_AND_HORIZONTAL="┬" -_SPCD_BANNER_DOWN_AND_LEFT="╮" -_SPCD_BANNER_DOWN_AND_RIGHT="╭" -_SPCD_BANNER_HORIZONTAL="─" -_SPCD_BANNER_UP_AND_HORIZONTAL="┴" -_SPCD_BANNER_UP_AND_LEFT="╯" -_SPCD_BANNER_UP_AND_RIGHT="╰" -_SPCD_BANNER_VERTICAL="│" +_SPCD_BANNER_DOWN_AND_HORIZONTAL="${_SPCD_BOX_DOWN_AND_HORIZONTAL}" +_SPCD_BANNER_DOWN_AND_LEFT="${_SPCD_BOX_DOWN_AND_LEFT}" +_SPCD_BANNER_DOWN_AND_RIGHT="${_SPCD_BOX_DOWN_AND_RIGHT}" +_SPCD_BANNER_HORIZONTAL="${_SPCD_BOX_HORIZONTAL}" +_SPCD_BANNER_UP_AND_HORIZONTAL="${_SPCD_BOX_UP_AND_HORIZONTAL}" +_SPCD_BANNER_UP_AND_LEFT="${_SPCD_BOX_UP_AND_LEFT}" +_SPCD_BANNER_UP_AND_RIGHT="${_SPCD_BOX_UP_AND_RIGHT}" +_SPCD_BANNER_VERTICAL="${_SPCD_BOX_VERTICAL}" _spcd_banner_add() { if [ -n "${1}" ]; then