lets try using some [[]]
This commit is contained in:
parent
28cad15b17
commit
5fa3cf0098
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user