mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 02:28:05 -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)
|
||||
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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue