devel
Alexey Berezhok 9 months ago
parent 0402e9ac0e
commit ea246929e6

@ -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)

@ -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

Loading…
Cancel
Save