mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-09 23:24:06 -08:00
* Bash cannot compare floating point numbers natively. This modification addresses issue #8482 and retains the intended function of the previous code. * Bash cannot compare floating point numbers natively. This modification addresses issue #8482 and retains the intended function of the previous code. Co-authored-by: Charles Hamilton <chamilton@dyercpa.com>
This commit is contained in:
parent
6eb860ca24
commit
4fd666716f
|
@ -438,7 +438,7 @@ case $distro in
|
|||
fi
|
||||
;;
|
||||
ubuntu)
|
||||
if [ "$version" -ge "18.04" ]; then
|
||||
if [ "${version//./}" -ge "1804" ]; then
|
||||
# Install for Ubuntu 18.04
|
||||
tzone=$(cat /etc/timezone)
|
||||
|
||||
|
|
Loading…
Reference in a new issue