replaced $LINUX refs with isLinux

pull/2/head
Hari Sekhon 5 years ago
parent 3cf08921e4
commit 552657322f

@ -25,7 +25,7 @@ bash_tools="${bash_tools:-$(dirname "${BASH_SOURCE[0]}")/..}"
# shellcheck disable=SC1090
[ -f ~/.docker_vars ] && . ~/.docker_vars
#if [ -n "$LINUX" ] && type podman &>/dev/null; then
#if isLinux && type podman &>/dev/null; then
# alias docker="podman"
#fi

@ -67,7 +67,7 @@ if isMac; then
mac_export_java_home
mac_export_java_home 7
fi
elif [ -n "$LINUX" ]; then
elif isLinux; then
if [ -z "$JAVA_HOME" ]; then
# RHEL / CentOS
if type -P alternatives &>/dev/null; then

@ -346,7 +346,7 @@ revnc(){
# ============================================================================ #
if [ -n "$LINUX" ]; then
if isLinux; then
ipl(){
iptables -L | nl

Loading…
Cancel
Save