Merge pull request #318 from nhooyr/code-2b75

install.sh: hardcode header to blue
This commit is contained in:
Anmol Sethi 2022-12-01 15:10:06 -08:00 committed by GitHub
commit 5abd3506f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 9 deletions

View file

@ -191,14 +191,14 @@ main() {
if [ -n "${UNINSTALL-}" ]; then
uninstall
if [ -n "${DRY_RUN-}" ]; then
FGCOLOR=3 bigheader "***********
bigheader "***********
Rerun without --dry-run to execute printed commands and perform install.
***********"
fi
else
install
if [ -n "${DRY_RUN-}" ]; then
FGCOLOR=3 bigheader "***********
bigheader "***********
Rerun without --dry-run to execute printed commands and perform install.
***********"
fi

View file

@ -221,12 +221,12 @@ EOF
}
header() {
logp "/* $1 */"
FGCOLOR=${FGCOLOR:-4} logp "/* $1 */"
}
bigheader() {
set -- "$(echo "$*" | sed "s/^/ * /")"
logp "/**
FGCOLOR=${FGCOLOR:-3} logp "/**
$*
**/"
}

2
ci/sub

@ -1 +1 @@
Subproject commit 70a9ad95ea0ae1de83fa3b7f7d4a160db4853c20
Subproject commit 4c77e964013db526bdbedf3b1d4b014881e2fde9

View file

@ -226,12 +226,12 @@ EOF
}
header() {
logp "/* $1 */"
FGCOLOR=${FGCOLOR:-4} logp "/* $1 */"
}
bigheader() {
set -- "$(echo "$*" | sed "s/^/ * /")"
logp "/**
FGCOLOR=${FGCOLOR:-3} logp "/**
$*
**/"
}
@ -676,14 +676,14 @@ main() {
if [ -n "${UNINSTALL-}" ]; then
uninstall
if [ -n "${DRY_RUN-}" ]; then
FGCOLOR=3 bigheader "***********
bigheader "***********
Rerun without --dry-run to execute printed commands and perform install.
***********"
fi
else
install
if [ -n "${DRY_RUN-}" ]; then
FGCOLOR=3 bigheader "***********
bigheader "***********
Rerun without --dry-run to execute printed commands and perform install.
***********"
fi