mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 13:24:24 -07:00
# Fallback to Ubuntu
This commit is contained in:
parent
b0c07020db
commit
e6d6e19032
1 changed files with 5 additions and 0 deletions
|
@ -44,6 +44,11 @@ case $(head -n1 /etc/issue | cut -f 1 -d ' ') in
|
||||||
*) type="rhel" ;;
|
*) type="rhel" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Fallback to Ubuntu
|
||||||
|
if [ ! -e "/etc/redhat-release" ]; then
|
||||||
|
type='ubuntu'
|
||||||
|
fi
|
||||||
|
|
||||||
# Check wget
|
# Check wget
|
||||||
if [ -e '/usr/bin/wget' ]; then
|
if [ -e '/usr/bin/wget' ]; then
|
||||||
wget http://vestacp.com/pub/vst-install-$type.sh -O vst-install-$type.sh
|
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