Update snipeit.sh (#3620)

To support Oracle Linux ( equivalent to redhat which check os version and type )
This commit is contained in:
Lee Thoong Ching 2017-06-02 11:54:23 +08:00 committed by snipe
parent 7c8dc9fe2d
commit 9a9b6ae228

View file

@ -150,7 +150,7 @@ case $distro in
echo " The installer has detected Debian version $version as the OS."
distro=debian
;;
*centos*|*redhat*)
*centos*|*redhat*|*ol*)
echo " The installer has detected $distro version $version as the OS."
distro=centos
;;