mirror of
https://github.com/dunglas/frankenphp.git
synced 2025-12-24 13:38:11 +08:00
fix: term capability code may not be available
This commit is contained in:
@@ -13,9 +13,9 @@ OS=$(uname -s)
|
||||
ARCH=$(uname -m)
|
||||
|
||||
if type "tput" >/dev/null 2>&1; then
|
||||
bold=$(tput bold)
|
||||
italic=$(tput sitm)
|
||||
normal=$(tput sgr0)
|
||||
bold=$(tput bold || true)
|
||||
italic=$(tput sitm || true)
|
||||
normal=$(tput sgr0 || true)
|
||||
fi
|
||||
|
||||
case ${OS} in
|
||||
|
||||
Reference in New Issue
Block a user