fix for debian and amazon installers

This commit is contained in:
Serghey Rodin 2018-06-21 11:40:07 +03:00
parent 955f3e7510
commit 17d0fb114e

View file

@ -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