From 07d3bba36b505c8ccd05c5613df382ca4ad3fa02 Mon Sep 17 00:00:00 2001 From: staticsafe Date: Sat, 16 Jun 2012 14:54:15 -0400 Subject: [PATCH] this check should work. --- envsetup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index b08ecbb..f46980a 100755 --- a/envsetup.sh +++ b/envsetup.sh @@ -30,7 +30,7 @@ distrocheck() { hash port &>/dev/null && userdistro="OSX" # For OSX, make sure the port binary is in your PATH first. hash pkg_add &>/dev/null && userdistro="FreeBSD" # For FreeBSD hash equo &>/dev/null && userdistro="Sabayon" # For Sabayon - hash emerge &>/dev/null && [[userdistro != "Sabayon"]] && userdistro="Gentoo" # For Gentoo + hash emerge &>/dev/null && hash equo &>/dev/null || userdistro="Gentoo" # For Gentoo } installpackages() {