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]
/
_webi
/
bootstrap.sh
diff --git
a/_webi/bootstrap.sh
b/_webi/bootstrap.sh
index 877ad818443500feccc80ab79a49eeebac4cfba7..dfbf9de0210902998fab0fad566ea0c6c9c745ed 100644
(file)
--- a/
_webi/bootstrap.sh
+++ b/
_webi/bootstrap.sh
@@
-2,16
+2,16
@@
{
{
-set -e
-set -u
+
set -e
+
set -u
-#WEBI_PKG=
-#WEBI_HOST=https://webinstall.dev
-export WEBI_HOST
+
#WEBI_PKG=
+
#WEBI_HOST=https://webinstall.dev
+
export WEBI_HOST
-mkdir -p "$HOME/.local/bin"
+
mkdir -p "$HOME/.local/bin"
-cat << EOF > "$HOME/.local/bin/webi"
+
cat << EOF > "$HOME/.local/bin/webi"
#!/bin/bash
set -e
#!/bin/bash
set -e
@@
-139,10
+139,10
@@
show_path_updates
EOF
EOF
-chmod a+x "$HOME/.local/bin/webi"
+
chmod a+x "$HOME/.local/bin/webi"
-if [ -n "${WEBI_PKG:-}" ]; then
- "$HOME/.local/bin/webi" "${WEBI_PKG}"
-fi
+
if [ -n "${WEBI_PKG:-}" ]; then
+
"$HOME/.local/bin/webi" "${WEBI_PKG}"
+
fi
}
}