mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-05-06 07:36:57 +02:00
Improved OS detection
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user