mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Update snipeit.sh (#3620)
To support Oracle Linux ( equivalent to redhat which check os version and type )
This commit is contained in:
parent
7c8dc9fe2d
commit
9a9b6ae228
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue