From ea246929e6c5fd1f885e3bf40e054adf674d9e57 Mon Sep 17 00:00:00 2001 From: Alexey Berezhok Date: Wed, 10 Jul 2024 23:32:27 +0300 Subject: [PATCH] Fixes --- bin/v-list-sys-hestia-updates | 6 +++--- src/rpm/hestia/hestia.spec | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/v-list-sys-hestia-updates b/bin/v-list-sys-hestia-updates index a138299..2dbde30 100755 --- a/bin/v-list-sys-hestia-updates +++ b/bin/v-list-sys-hestia-updates @@ -85,9 +85,9 @@ shell_list() { # Checking official latest version if [ -f '/etc/redhat-release' ]; then - hestia_v=$(dnf list hestia | grep hestia | awk '{print $2}' | cut -f 1 -d '-') - nginx_v=$(dnf list hestia-nginx | grep hestia-nginx | awk '{print $2}' | cut -f 1 -d '-') - php_v=$(dnf list hestia-php | grep hestia-php | awk '{print $2}' | cut -f 1 -d '-') + hestia_v=$(dnf list hestia --available | grep -v '.src' | grep hestia | awk '{print $2}' | cut -f 1 -d '-') + nginx_v=$(dnf list hestia-nginx --available | grep -v '.src' | grep hestia-nginx | awk '{print $2}' | cut -f 1 -d '-') + php_v=$(dnf list hestia-php --available | grep -v '.src' | grep hestia-php | awk '{print $2}' | cut -f 1 -d '-') else hestia_v=$(apt-cache policy hestia | grep Candidate | cut -d ':' -f 2 | xargs) nginx_v=$(apt-cache policy hestia-nginx | grep Candidate | cut -d ':' -f 2 | xargs) diff --git a/src/rpm/hestia/hestia.spec b/src/rpm/hestia/hestia.spec index 72cc2f7..8790e23 100644 --- a/src/rpm/hestia/hestia.spec +++ b/src/rpm/hestia/hestia.spec @@ -2,8 +2,8 @@ %global _hardened_build 1 Name: hestia -Version: 1.8.1 -Release: 1%{dist}.bayrepo.2 +Version: 1.8.4 +Release: 1%{dist}.bayrepo.1 Summary: Hestia Control Panel Group: System Environment/Base License: GPLv3