Merge pull request #318 from nhooyr/code-2b75
install.sh: hardcode header to blue
This commit is contained in:
commit
5abd3506f9
4 changed files with 9 additions and 9 deletions
|
|
@ -191,14 +191,14 @@ main() {
|
||||||
if [ -n "${UNINSTALL-}" ]; then
|
if [ -n "${UNINSTALL-}" ]; then
|
||||||
uninstall
|
uninstall
|
||||||
if [ -n "${DRY_RUN-}" ]; then
|
if [ -n "${DRY_RUN-}" ]; then
|
||||||
FGCOLOR=3 bigheader "***********
|
bigheader "***********
|
||||||
Rerun without --dry-run to execute printed commands and perform install.
|
Rerun without --dry-run to execute printed commands and perform install.
|
||||||
***********"
|
***********"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
install
|
install
|
||||||
if [ -n "${DRY_RUN-}" ]; then
|
if [ -n "${DRY_RUN-}" ]; then
|
||||||
FGCOLOR=3 bigheader "***********
|
bigheader "***********
|
||||||
Rerun without --dry-run to execute printed commands and perform install.
|
Rerun without --dry-run to execute printed commands and perform install.
|
||||||
***********"
|
***********"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -221,12 +221,12 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
header() {
|
header() {
|
||||||
logp "/* $1 */"
|
FGCOLOR=${FGCOLOR:-4} logp "/* $1 */"
|
||||||
}
|
}
|
||||||
|
|
||||||
bigheader() {
|
bigheader() {
|
||||||
set -- "$(echo "$*" | sed "s/^/ * /")"
|
set -- "$(echo "$*" | sed "s/^/ * /")"
|
||||||
logp "/**
|
FGCOLOR=${FGCOLOR:-3} logp "/**
|
||||||
$*
|
$*
|
||||||
**/"
|
**/"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
2
ci/sub
2
ci/sub
|
|
@ -1 +1 @@
|
||||||
Subproject commit 70a9ad95ea0ae1de83fa3b7f7d4a160db4853c20
|
Subproject commit 4c77e964013db526bdbedf3b1d4b014881e2fde9
|
||||||
|
|
@ -226,12 +226,12 @@ EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
header() {
|
header() {
|
||||||
logp "/* $1 */"
|
FGCOLOR=${FGCOLOR:-4} logp "/* $1 */"
|
||||||
}
|
}
|
||||||
|
|
||||||
bigheader() {
|
bigheader() {
|
||||||
set -- "$(echo "$*" | sed "s/^/ * /")"
|
set -- "$(echo "$*" | sed "s/^/ * /")"
|
||||||
logp "/**
|
FGCOLOR=${FGCOLOR:-3} logp "/**
|
||||||
$*
|
$*
|
||||||
**/"
|
**/"
|
||||||
}
|
}
|
||||||
|
|
@ -676,14 +676,14 @@ main() {
|
||||||
if [ -n "${UNINSTALL-}" ]; then
|
if [ -n "${UNINSTALL-}" ]; then
|
||||||
uninstall
|
uninstall
|
||||||
if [ -n "${DRY_RUN-}" ]; then
|
if [ -n "${DRY_RUN-}" ]; then
|
||||||
FGCOLOR=3 bigheader "***********
|
bigheader "***********
|
||||||
Rerun without --dry-run to execute printed commands and perform install.
|
Rerun without --dry-run to execute printed commands and perform install.
|
||||||
***********"
|
***********"
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
install
|
install
|
||||||
if [ -n "${DRY_RUN-}" ]; then
|
if [ -n "${DRY_RUN-}" ]; then
|
||||||
FGCOLOR=3 bigheader "***********
|
bigheader "***********
|
||||||
Rerun without --dry-run to execute printed commands and perform install.
|
Rerun without --dry-run to execute printed commands and perform install.
|
||||||
***********"
|
***********"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue