lets try using some [[]]

This commit is contained in:
staticsafe 2012-06-16 14:44:18 -04:00
parent 28cad15b17
commit 5fa3cf0098
1 changed files with 1 additions and 1 deletions

View File

@ -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 && [[userdistro != "Sabayon"]] && userdistro="Gentoo" # For Gentoo
}
installpackages() {