From 17d0fb114ebe15f89db4284316a17cf8e20de51e Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Thu, 21 Jun 2018 11:40:07 +0300 Subject: [PATCH] fix for debian and amazon installers --- install/vst-install.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/install/vst-install.sh b/install/vst-install.sh index 4bd4cc20..aa9ecbf6 100755 --- a/install/vst-install.sh +++ b/install/vst-install.sh @@ -9,6 +9,7 @@ # CentOS 5, 6, 7 # Debian 7, 8 # Ubuntu 12.04 - 18.04 +# Amazon Linux 2017 # # Am I root? @@ -45,11 +46,6 @@ 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