Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
671edc33
Commit
671edc33
authored
Oct 27, 2019
by
neilpang
Browse files
fix background color
parent
2a287723
Changes
1
Hide whitespace changes
Inline
Side-by-side
acme.sh
View file @
671edc33
...
@@ -153,7 +153,7 @@ fi
...
@@ -153,7 +153,7 @@ fi
__green() {
__green() {
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
printf
'\
0
33[1;
31;
32m%b\
0
33[0m'
"
$1
"
printf '\33[1;32m%b\33[0m' "$1"
return
return
fi
fi
printf -- "%b" "$1"
printf -- "%b" "$1"
...
@@ -161,7 +161,7 @@ __green() {
...
@@ -161,7 +161,7 @@ __green() {
__red() {
__red() {
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
if [ "${__INTERACTIVE}${ACME_NO_COLOR:-0}" = "10" -o "${ACME_FORCE_COLOR}" = "1" ]; then
printf
'\
0
33[1;31
;40
m%b\
0
33[0m'
"
$1
"
printf '\33[1;31m%b\33[0m' "$1"
return
return
fi
fi
printf -- "%b" "$1"
printf -- "%b" "$1"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment