mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
Fix installer again (#2370)
I hate bash... anyone else want to maintain this? :)
This commit is contained in:
parent
b6986ad808
commit
c9d3cd724b
|
@ -51,7 +51,7 @@ elif [ -f /etc/os-release ]; then
|
|||
#Order is important here. If /etc/os-release and /etc/centos-release exist, we're on centos 7.
|
||||
#If only /etc/centos-release exist, we're on centos6(or earlier). Centos-release is less parsable,
|
||||
#so lets assume that it's version 6 (Plus, who would be doing a new install of anything on centos5 at this point..)
|
||||
elif [ -f /etc/centos-release]; then
|
||||
elif [ -f /etc/centos-release ]; then
|
||||
distro="Centos"
|
||||
version="6"
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue