Skip to content

Commit 2d4cdb3

Browse files
committed
autodetect vesta version
1 parent 11d93a0 commit 2d4cdb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-update-dns-templates

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ source $VESTA/conf/vesta.conf
2525
tmpdir=$(mktemp -d --dry-run)
2626
mkdir $tmpdir
2727
cd $tmpdir
28-
wget http://c.vestacp.com/0.9.8/rhel/templates.tar.gz -q
28+
wget http://c.vestacp.com/$VERSION/rhel/templates.tar.gz -q
2929
if [ "$?" -ne 0 ]; then
3030
echo "Error: can't download template.tar.gz"
3131
log_event "$E_CONNECT" "$EVENT"

0 commit comments

Comments
 (0)