Explorar o código

Improved OS detection

Serghey Rodin %!s(int64=12) %!d(string=hai) anos
pai
achega
0ae212e554
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      install/vst-install.sh

+ 1 - 1
install/vst-install.sh

@@ -34,7 +34,7 @@ if [ -e '/etc/redhat-release' ]; then
     type="rhel"
     type="rhel"
 fi
 fi
 
 
-if [ -e '/etc/lsb-release' ]; then
+if [ -e '/etc/lsb-release' ] && [ -e '/etc/debian_version' ]; then
     type="ubuntu"
     type="ubuntu"
 fi
 fi