Skip to content

Commit d40e828

Browse files
committed
Change request to ssl and remove product name form version check.
1 parent 491712a commit d40e828

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-list-sys-hestia-updates

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ shell_list() {
6161
#----------------------------------------------------------#
6262

6363
# Checking official latest version
64-
latest=$(wget -q -T 1 -t 1 http://gpg.hestiacp.com/latest.txt -O -)
64+
latest=$(wget -q -T 1 -t 1 https://gpg.hestiacp.com/latest.txt -O -)
6565

6666
# Checking installed hestia version
6767
if [ -d "/etc/sysconfig" ]; then
@@ -82,7 +82,7 @@ else
8282
TIME=$(date -d @$pkg_date +"%T")
8383
fi
8484
UPDATED='yes'
85-
if [ ! -z "$latest" ] && [ "$latest" \> "hestia-$VERSION-$RELEASE" ]; then
85+
if [ ! -z "$latest" ] && [ "$latest" \> "$VERSION-$RELEASE" ]; then
8686
UPDATED='no'
8787
fi
8888
data="NAME='hestia' VERSION='$VERSION' RELEASE='$RELEASE' ARCH='$ARCH'"

0 commit comments

Comments
 (0)