aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-03 20:55:40 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-03 20:55:40 -0500
commit061b434c7a61890eacc19929b42ac30041300bbe (patch)
treef0701aa576271e93fcf6d31751cc7a4c7bd44df4
parentAdd desktop support for lemonbar (diff)
downloaddotfiles-061b434c7a61890eacc19929b42ac30041300bbe.zip
Fix a couple shellcheck warnings
-rw-r--r--shlib/bootstrap.sh1
-rw-r--r--shlib/log.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/shlib/bootstrap.sh b/shlib/bootstrap.sh
index 9e49f24..f55822a 100644
--- a/shlib/bootstrap.sh
+++ b/shlib/bootstrap.sh
@@ -27,6 +27,7 @@ bootstrap_macos() {
bootstrap_openbsd() {
log_info "Installing OpenBSD packages..."
_openbsd_packages="$(cat "$(dirname "$0")/openbsd/packages.txt" | tr '\n' ' ')"
+ # shellcheck disable=SC2086
doas pkg_add $_openbsd_packages
chsh -s /usr/local/bin/zsh "$USER"
}
diff --git a/shlib/log.sh b/shlib/log.sh
index f4e46ff..f2f8864 100644
--- a/shlib/log.sh
+++ b/shlib/log.sh
@@ -19,7 +19,7 @@ log_success() {
}
log_debug() {
- [ "${DEBUG:-}" == "true" ] && echo "[DEBUG] $*" >&2
+ [ "${DEBUG:-}" = "true" ] && echo "[DEBUG] $*" >&2
}
log_newline() {