diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-11-26 09:01:56 -0500 |
| commit | 1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2 (patch) | |
| tree | 33cdba30255cb9699975b0ffd11d8bc29424aa96 /shlib/bootstrap.sh | |
| parent | Add wallpapers (diff) | |
| download | dotfiles-1881b5c6cce58a9944bcad2b8c68a1b4efcf77b2.zip | |
Add support for openbsd
Diffstat (limited to 'shlib/bootstrap.sh')
| -rw-r--r-- | shlib/bootstrap.sh | 7 |
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' ' ' } |