Explorar o código

# Fallback to Ubuntu

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

+ 5 - 0
install/vst-install.sh

@@ -44,6 +44,11 @@ case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
     *)          type="rhel" ;;
 esac
 
+# Fallback to Ubuntu
+if [ ! -e "/etc/redhat-release" ]; then
+    type='ubuntu'
+fi
+
 # Check wget
 if [ -e '/usr/bin/wget' ]; then
     wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh