Procházet zdrojové kódy

Improved OS detection

Serghey Rodin před 12 roky
rodič
revize
0ae212e554
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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"
 fi
 
-if [ -e '/etc/lsb-release' ]; then
+if [ -e '/etc/lsb-release' ] && [ -e '/etc/debian_version' ]; then
     type="ubuntu"
 fi