Changed os check ordering in install-all.sh
This commit is contained in:
@@ -167,10 +167,10 @@ if [ "${OS}" = "Linux" ]; then
|
|||||||
DIST=fedora
|
DIST=fedora
|
||||||
elif [ -f /etc/debian_version ]; then
|
elif [ -f /etc/debian_version ]; then
|
||||||
DIST=debian
|
DIST=debian
|
||||||
elif [ -f /etc/os-release ]; then
|
|
||||||
DIST=opensuse
|
|
||||||
elif [ -f /etc/centos-release ]; then
|
elif [ -f /etc/centos-release ]; then
|
||||||
DIST=centos
|
DIST=centos
|
||||||
|
elif [ -f /etc/os-release ]; then
|
||||||
|
DIST=opensuse
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo $OS | grep -i cygwin
|
echo $OS | grep -i cygwin
|
||||||
|
|||||||
Reference in New Issue
Block a user