From a4b65c07aec47e45a1f94b3ffcd3edf9193a1540 Mon Sep 17 00:00:00 2001 From: myvesta <38690722+myvesta@users.noreply.github.com> Date: Sun, 21 Jun 2020 23:43:36 +0200 Subject: [PATCH] Checking official latest version --- bin/v-update-sys-vesta-all | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/v-update-sys-vesta-all b/bin/v-update-sys-vesta-all index 75bc036f..5a42a0c0 100755 --- a/bin/v-update-sys-vesta-all +++ b/bin/v-update-sys-vesta-all @@ -21,6 +21,10 @@ source $VESTA/conf/vesta.conf # Action # #----------------------------------------------------------# + +# Checking official latest version +latest=$(wget -q -T 10 -t 1 http://c.myvestacp.com/latest.txt?check_latest -O -) + # Starting update loop for package in vesta vesta-nginx vesta-php; do $BIN/v-update-sys-vesta "$package"