Add support Sun based distros: OpenIndiana, Illumos, ...

pull/225/head
benn 2022-03-12 10:35:41 +01:00
parent 60f95a1a74
commit 67b57ef453
1 changed files with 2 additions and 1 deletions

View File

@ -41,9 +41,10 @@ case "$(uname -s)" in
Darwin*) system=MacOS;;
CYGWIN*) system=Cygwin;;
MINGW*) system=MinGw;;
SunOS*) system=Sun;;
*) system="Other"
esac
if [[ ! $system =~ Linux|MacOS|BSD ]]; then
if [[ ! $system =~ Linux|MacOS|BSD|Sun ]]; then
echo "This version of bashtop does not support $system platform."
exit 1
fi