Skip to content

Commit db4c08c

Browse files
committed
Do not include additional, hestia specific versioning.
1 parent ce03d20 commit db4c08c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hst_autocompile.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,11 @@ fi
8686

8787
BUILD_ARCH='amd64'
8888
HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
89-
NGINX_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/nginx/control |grep "Version:" |cut -d' ' -f2)
89+
NGINX_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/nginx/control |grep "Version:" |cut -d' ' -f2 |cut -d"~" -f1)
9090
OPENSSL_V='1.1.1g'
9191
PCRE_V='8.44'
9292
ZLIB_V='1.2.11'
93-
PHP_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/php/control |grep "Version:" |cut -d' ' -f2)
93+
PHP_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/php/control |grep "Version:" |cut -d' ' -f2 |cut -d"~" -f1)
9494

9595
# Create build directories
9696
rm -rf $BUILD_DIR

0 commit comments

Comments
 (0)