mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 21:24:13 -08:00
Fixes issue #3649 with gohilurvish’s recommended fix.
This commit is contained in:
parent
0bc709206f
commit
17ce4ea08b
|
@ -113,6 +113,7 @@ function isinstalled {
|
|||
if [ -f /etc/lsb-release ]; then
|
||||
distro="$(lsb_release -s -i )"
|
||||
version="$(lsb_release -s -r)"
|
||||
codename="$(lsb_release -c -s)"
|
||||
elif [ -f /etc/os-release ]; then
|
||||
distro="$(. /etc/os-release && echo $ID)"
|
||||
version="$(. /etc/os-release && echo $VERSION_ID)"
|
||||
|
|
Loading…
Reference in a new issue