diff options
author | June McEnroe <curtis@hopper.com> | 2017-06-12 10:11:28 -0400 |
---|---|---|
committer | June McEnroe <curtis@hopper.com> | 2017-06-12 10:11:28 -0400 |
commit | 2873df23c82ac1e5b9c171e1d9a7dfe925c00954 (patch) | |
tree | 1bf47919cbb02e36216591b99c624f0a395a69c7 | |
parent | Add untested install script (diff) | |
download | src-2873df23c82ac1e5b9c171e1d9a7dfe925c00954.tar.gz src-2873df23c82ac1e5b9c171e1d9a7dfe925c00954.zip |
Fix install script
-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 |