From fab76291db8d315c03f7480f9c087786f8b0ca0f Mon Sep 17 00:00:00 2001 From: staticsafe Date: Tue, 17 Apr 2012 21:25:02 -0400 Subject: [PATCH] adding more logic for BSD distros --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index 55f660a..bb63e7f 100755 --- a/envsetup.sh +++ b/envsetup.sh @@ -41,7 +41,7 @@ installpackages() { elif [[ "$userdistro" == "OSX" ]]; then sudo port install vim zsh tmux git-core git-extras subversion most #echo "export PATH=/opt/local/bin:/opt/local/sbin:$PATH" >> ~/.zshenv # This adds the port binary path, so that zsh can use it after, commented out by default. - elif [[ "$userdistro" == "FreeBSD" ]]; then + elif [[ "$userdistro" == "FreeBSD" && $(uname -s) == "FreeBSD" ]]; then sudo pkg_add -r vim zsh tmux git subversion most else die 'Your distro does not have a package manager supported by this script, exiting!'