Skip to content

Commit ceab8a0

Browse files
committed
Revert hst_autocompile emergency patch changes.
1 parent 1403d15 commit ceab8a0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/deb/php/control

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Source: hestia-php
22
Package: hestia-php
33
Priority: optional
4-
Version: 7.4.12
4+
Version: 7.4.11~1
55
Section: admin
66
Maintainer: HestaCP <info@hestiacp.com>
77
Homepage: https://www.hestiacp.com

src/hst_autocompile.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ NGINX='https://nginx.org/download/nginx-'$(echo $NGINX_V |cut -d"~" -f1)'.tar.gz
180180
OPENSSL='https://www.openssl.org/source/openssl-'$OPENSSL_V'.tar.gz'
181181
PCRE='https://ftp.pcre.org/pub/pcre/pcre-'$PCRE_V'.tar.gz'
182182
ZLIB='https://www.zlib.net/zlib-'$ZLIB_V'.tar.gz'
183-
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"-" -f1)'.tar.gz'
183+
PHP='http://de2.php.net/distributions/php-'$(echo $PHP_V |cut -d"~" -f1)'.tar.gz'
184184

185185
# Forward slashes in branchname are replaced with dashes to match foldername in github archive.
186186
branch=$(echo "$branch" |sed 's/\//-/g');
@@ -330,7 +330,7 @@ if [ "$PHP_B" = true ] ; then
330330
download_file $PHP '-' | tar xz
331331

332332
# Change to php directory
333-
cd php-$(echo $PHP_V |cut -d"-" -f1)
333+
cd php-$(echo $PHP_V |cut -d"~" -f1)
334334

335335
# Configure PHP
336336
./configure --prefix=/usr/local/hestia/php \
@@ -355,7 +355,7 @@ if [ "$PHP_B" = true ] ; then
355355

356356
# Cleare up unused files
357357
cd $BUILD_DIR
358-
rm -r php-$(echo $PHP_V |cut -d"-" -f1)
358+
rm -r php-$(echo $PHP_V |cut -d"~" -f1)
359359

360360
# Prepare Deb Package Folder Structure
361361
cd hestia-php_$PHP_V/

0 commit comments

Comments
 (0)