Skip to content

Commit

Permalink
autodetect vesta version
Browse files Browse the repository at this point in the history
  • Loading branch information
serghey-rodin committed Feb 17, 2014
1 parent 11d93a0 commit 2d4cdb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/v-update-dns-templates
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2d4cdb3

Please sign in to comment.