diff options
author | June McEnroe <june@causal.agency> | 2017-06-12 10:11:28 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2017-06-12 10:11:28 -0400 |
commit | 824cdf35355c9e4a93163a2523d7e50d23b5b305 (patch) | |
tree | 970f8524a34e5bec67fda48dfcfc4eaa08e0be8d | |
parent | Add untested install script (diff) | |
download | src-824cdf35355c9e4a93163a2523d7e50d23b5b305.tar.gz src-824cdf35355c9e4a93163a2523d7e50d23b5b305.zip |
Fix install script
Diffstat (limited to '')
-rwxr-xr-x | install.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install.sh b/install.sh index 8b9df7c8..89f86d3f 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -common=gdb git gnupg htop the_silver_searcher tmux tree +common='gdb git gnupg htop the_silver_searcher tmux tree' macos() { homebrew=https://raw.githubusercontent.com/Homebrew/install/master/install @@ -23,6 +23,6 @@ arch() { pacman -Sy --needed neovim openssh zsh } -[ "`uname`" = 'Darwin' ] && exec macos -[ -f /usr/local/sbin/pkg ] && exec freebsd -[ -f /usr/bin/pacman ] && exec arch +[ "`uname`" = 'Darwin' ] && macos && exit +[ -f /usr/local/sbin/pkg ] && freebsd && exit +[ -f /usr/bin/pacman ] && arch && exit |