aboutsummaryrefslogtreecommitdiffstats
path: root/shlib/bootstrap.sh
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-11-26 09:01:56 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-11-26 09:01:56 -0500
commit1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 (patch)
tree33cdba30255cb9699975b0ffd11d8bc29424aa96 /shlib/bootstrap.sh
parentAdd wallpapers (diff)
downloaddotfiles-1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2.zip
Add support for openbsd
Diffstat (limited to 'shlib/bootstrap.sh')
-rw-r--r--shlib/bootstrap.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/shlib/bootstrap.sh b/shlib/bootstrap.sh
index b2d6bb9..7db72ea 100644
--- a/shlib/bootstrap.sh
+++ b/shlib/bootstrap.sh
@@ -17,13 +17,14 @@ bootstrap_macos() {
fi
log_info "Found homebrew installation. Installing Brewfile.."
- (cd homebrew && brew bundle)
+ (cd macos/homebrew && brew bundle)
log_info "Brewfile successfully installed. Moving to linking dotfiles.."
sudo ln -sf "$HOME/bin/get-password" /usr/local/bin/get-password
sudo ln -sf "$(which op)" /usr/local/bin/op
}
-bootstrap_linux() {
- return 0
+bootstrap_openbsd() {
+ log_info "Installing OpenBSD packages..."
+ doas pkg_add "$(dirname "$0")/pkg/openbsd-packages.txt" | tr '\n' ' '
}