From 824cdf35355c9e4a93163a2523d7e50d23b5b305 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Mon, 12 Jun 2017 10:11:28 -0400 Subject: Fix install script --- install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'install.sh') 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 -- cgit 1.4.1