mirror of
https://github.com/serghey-rodin/vesta.git
synced 2026-06-20 14:40:09 +02:00
autodetect vesta version
This commit is contained in:
@@ -25,7 +25,7 @@ source $VESTA/conf/vesta.conf
|
||||
tmpdir=$(mktemp -d --dry-run)
|
||||
mkdir $tmpdir
|
||||
cd $tmpdir
|
||||
wget http://c.vestacp.com/0.9.8/rhel/templates.tar.gz -q
|
||||
wget http://c.vestacp.com/$VERSION/rhel/templates.tar.gz -q
|
||||
if [ "$?" -ne 0 ]; then
|
||||
echo "Error: can't download template.tar.gz"
|
||||
log_event "$E_CONNECT" "$EVENT"
|
||||
|
||||
Reference in New Issue
Block a user