mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Improved OS detection
This commit is contained in:
parent
1ac8cc2ca1
commit
0ae212e554
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ if [ -e '/etc/redhat-release' ]; then
|
|||
type="rhel"
|
||||
fi
|
||||
|
||||
if [ -e '/etc/lsb-release' ]; then
|
||||
if [ -e '/etc/lsb-release' ] && [ -e '/etc/debian_version' ]; then
|
||||
type="ubuntu"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue