mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 13:01:51 -07:00
autodetect vesta version
This commit is contained in:
parent
11d93a0f87
commit
2d4cdb3f2a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ source $VESTA/conf/vesta.conf
|
||||||
tmpdir=$(mktemp -d --dry-run)
|
tmpdir=$(mktemp -d --dry-run)
|
||||||
mkdir $tmpdir
|
mkdir $tmpdir
|
||||||
cd $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
|
if [ "$?" -ne 0 ]; then
|
||||||
echo "Error: can't download template.tar.gz"
|
echo "Error: can't download template.tar.gz"
|
||||||
log_event "$E_CONNECT" "$EVENT"
|
log_event "$E_CONNECT" "$EVENT"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue