Przeglądaj źródła

Improved OS detection

Serghey Rodin 12 lat temu
rodzic
commit
0ae212e554
1 zmienionych plików z 1 dodań i 1 usunięć
  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