From ab0ca29e2869bc5580639d117c35d08593c137f9 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Thu, 7 May 2020 21:34:37 +0200 Subject: [PATCH] Update vesta_compile.sh --- src/deb/vesta_compile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/deb/vesta_compile.sh b/src/deb/vesta_compile.sh index 083717c66..5b2b3170e 100644 --- a/src/deb/vesta_compile.sh +++ b/src/deb/vesta_compile.sh @@ -9,7 +9,6 @@ add_deb_to_apt_repo=0 TARGET_DEB_NAME='buster' TARGET_DEB_VER='10' -VESTA_VER='0.9.8-26-11' run_apt_update_and_install=1 wait_to_press_enter=1 @@ -51,6 +50,9 @@ APT_WEB_ADDRESS="apt.myvestacp.com" PATH_OF_APT_REPO_ROOT="/var/www/$APT_WEB_ADDRESS/html" PATH_OF_APT_REPO="$PATH_OF_APT_REPO_ROOT/$TARGET_DEB_NAME" +VESTA_VER=$(curl -s https://raw.githubusercontent.com/myvesta/vesta/master/src/deb/latest.txt) +VESTA_VER=${VESTA_VER:6} + # Set Version for compiling VESTA_V=$VESTA_VER"_amd64" NGINX_V='1.17.7'