From 1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 26 Nov 2025 09:01:56 -0500 Subject: Add support for openbsd --- shlib/bootstrap.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'shlib/bootstrap.sh') 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' ' ' } -- cgit v1.2.3