diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-03 20:55:40 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-12-03 20:55:40 -0500 |
| commit | 061b434c7a61890eacc19929b42ac30041300bbe (patch) | |
| tree | f0701aa576271e93fcf6d31751cc7a4c7bd44df4 /shlib | |
| parent | Add desktop support for lemonbar (diff) | |
| download | dotfiles-061b434c7a61890eacc19929b42ac30041300bbe.zip | |
Fix a couple shellcheck warnings
Diffstat (limited to 'shlib')
| -rw-r--r-- | shlib/bootstrap.sh | 1 | ||||
| -rw-r--r-- | shlib/log.sh | 2 |
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() { |