Skip to content

Commit 17d0fb1

Browse files
author
Serghey Rodin
committed
fix for debian and amazon installers
1 parent 955f3e7 commit 17d0fb1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

install/vst-install.sh

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# CentOS 5, 6, 7
1010
# Debian 7, 8
1111
# Ubuntu 12.04 - 18.04
12+
# Amazon Linux 2017
1213
#
1314

1415
# Am I root?
@@ -45,11 +46,6 @@ case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
4546
*) type="rhel" ;;
4647
esac
4748

48-
# Fallback to Ubuntu
49-
if [ ! -e "/etc/redhat-release" ]; then
50-
type='ubuntu'
51-
fi
52-
5349
# Check wget
5450
if [ -e '/usr/bin/wget' ]; then
5551
wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh

0 commit comments

Comments
 (0)