mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-07-05 20:41:51 -07:00
fix for debian and amazon installers
This commit is contained in:
parent
955f3e7510
commit
17d0fb114e
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue