Skip to content

Commit d0e88ad

Browse files
author
Kristan Kenney
committed
Use control files for PHP/NGINX versions in v-update-sys-hestia-git
1 parent cf0aed2 commit d0e88ad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bin/v-update-sys-hestia-git

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ install=$2
6363
BUILD_VER=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/hestia/control | grep "Version:" | cut -d' ' -f2)
6464
BUILD_ARCH='amd64'
6565
HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
66-
NGINX_V='1.16.0'
67-
OPENSSL_V='1.1.1b'
66+
NGINX_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/nginx/control |grep "Version:" |cut -d' ' -f2)
67+
OPENSSL_V='1.1.1c'
6868
PCRE_V='8.43'
6969
ZLIB_V='1.2.11'
70-
PHP_V='7.3.4'
70+
PHP_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/php/control |grep "Version:" |cut -d' ' -f2)
7171

7272
# Create build directories
7373
rm -rf $BUILD_DIR

0 commit comments

Comments
 (0)