mirror of https://github.com/aristocratos/bashtop
Merge 67b57ef453
into 60f95a1a74
commit
8eac25e9e3
3
bashtop
3
bashtop
|
@ -41,9 +41,10 @@ case "$(uname -s)" in
|
||||||
Darwin*) system=MacOS;;
|
Darwin*) system=MacOS;;
|
||||||
CYGWIN*) system=Cygwin;;
|
CYGWIN*) system=Cygwin;;
|
||||||
MINGW*) system=MinGw;;
|
MINGW*) system=MinGw;;
|
||||||
|
SunOS*) system=Sun;;
|
||||||
*) system="Other"
|
*) system="Other"
|
||||||
esac
|
esac
|
||||||
if [[ ! $system =~ Linux|MacOS|BSD ]]; then
|
if [[ ! $system =~ Linux|MacOS|BSD|Sun ]]; then
|
||||||
echo "This version of bashtop does not support $system platform."
|
echo "This version of bashtop does not support $system platform."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue