Просмотр исходного кода

Do not include additional, hestia specific versioning.

Raphael Schneeberger 5 лет назад
Родитель
Сommit
db4c08c4ba
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/hst_autocompile.sh

+ 2 - 2
src/hst_autocompile.sh

@@ -86,11 +86,11 @@ fi
 
 
 BUILD_ARCH='amd64'
 BUILD_ARCH='amd64'
 HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
 HESTIA_V="${BUILD_VER}_${BUILD_ARCH}"
-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)
 OPENSSL_V='1.1.1g'
 OPENSSL_V='1.1.1g'
 PCRE_V='8.44'
 PCRE_V='8.44'
 ZLIB_V='1.2.11'
 ZLIB_V='1.2.11'
-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)
 
 
 # Create build directories
 # Create build directories
 rm -rf $BUILD_DIR
 rm -rf $BUILD_DIR