We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce03d20 commit db4c08cCopy full SHA for db4c08c
1 file changed
src/hst_autocompile.sh
@@ -86,11 +86,11 @@ fi
86
87
BUILD_ARCH='amd64'
88
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)
+NGINX_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/nginx/control |grep "Version:" |cut -d' ' -f2 |cut -d"~" -f1)
90
OPENSSL_V='1.1.1g'
91
PCRE_V='8.44'
92
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)
+PHP_V=$(curl -s https://raw.githubusercontent.com/hestiacp/hestiacp/$branch/src/deb/php/control |grep "Version:" |cut -d' ' -f2 |cut -d"~" -f1)
94
95
# Create build directories
96
rm -rf $BUILD_DIR
0 commit comments