projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: shfmt, shellcheck, and whitespace
[webi-installers/.git]
/
caddy
/
install.sh
diff --git
a/caddy/install.sh
b/caddy/install.sh
index d506229d7a631236de9179a19cfa5e04e7b20f9f..c0980b99e45e287858b39db0f5bbbeaa87e2c819 100644
(file)
--- a/
caddy/install.sh
+++ b/
caddy/install.sh
@@
-19,7
+19,7
@@
pkg_get_current_version() {
# v2.1.0 h1:pQSaIJGFluFvu8KDGDODV8u4/QRED/OPyIR+MWYYse8=
# This trims it down to just the version number:
# 2.1.0
# v2.1.0 h1:pQSaIJGFluFvu8KDGDODV8u4/QRED/OPyIR+MWYYse8=
# This trims it down to just the version number:
# 2.1.0
- echo "$(caddy version 2>/dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^v::')"
+ echo "$(caddy version 2>
/dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^v::')"
}
pkg_install() {
}
pkg_install() {