rice

personal dot files and scripts for linux and macOS
Log | Files | Refs | README | LICENSE

commit bd3380610336bc4e7b807118b116784d2704671c
parent 055333253302d47a55a35f92ac54de4012ba3434
Author: Mark Feller <mark@mfeller.io>
Date:   Thu, 16 Dec 2021 19:02:19 -0700

add openbsd to list of OSes

Diffstat:
Minstall | 20+++++++++++++-------
1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/install b/install @@ -14,10 +14,6 @@ shared() copy dots/.config/emacs $HOME/.config copy dots/.config/git $HOME/.config copy dots/.config/lf $HOME/.config - copy dots/.config/mpd $HOME/.config - copy dots/.config/ncmpcpp $HOME/.config - copy dots/.config/notmuch $HOME/.config - copy dots/.config/offlineimap $HOME/.config copy dots/.config/zsh $HOME/.config copy dots/.config/aliasrc $HOME/.config copy dots/.local/bin $HOME/.local @@ -29,6 +25,10 @@ linux() # Linux specific dotfiles copy dots/.config/compton $HOME/.config copy dots/.config/dunst $HOME/.config + copy dots/.config/mpd $HOME/.config + copy dots/.config/ncmpcpp $HOME/.config + copy dots/.config/notmuch $HOME/.config + copy dots/.config/offlineimap $HOME/.config copy dots/.config/mimeapps.list $HOME/.config copy dots/.config/vis $HOME/.config copy dots/.config/x11 $HOME/.config @@ -43,6 +43,11 @@ macos() copy dots/.local/share/gnupg/*.macos $HOME/.local/share/gnupg } +openbsd() +{ + return +} + if [ -d "$rice_dir" ]; then cd "$rice_dir" git pull --ff-only @@ -57,7 +62,8 @@ fi cd "$rice_dir" case "$(uname -s)" in - Linux*) shared; linux ;; - Darwin*) shared; macos ;; - *) echo "Usage: $0 [-d]"; exit 1 ;; + Linux*) shared; linux ;; + Darwin*) shared; macos ;; + OpenBSD*) shared; openbsd ;; + *) echo "Could not detect OS"; exit 1 ;; esac