Skip to content

Commit d306e57

Browse files
committed
Fixes issues with install --with-debs
Currently when installing --with-debs the install fails as it will leave =1.3.0~apha in the software list causing giving it a error as package does not exists. This is caused by the code to make sure the last version is installed https://github.com/hestiacp/hestiacp/blob/90f5e247eb61fe66c4b6981de17a380f2e8a8ad5/install/hst-install-ubuntu.sh#L45
1 parent 90f5e24 commit d306e57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -811,7 +811,7 @@ fi
811811
if [ -d "$withdebs" ]; then
812812
software=$(echo "$software" | sed -e "s/hestia-nginx//")
813813
software=$(echo "$software" | sed -e "s/hestia-php//")
814-
software=$(echo "$software" | sed -e "s/hestia//")
814+
software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")
815815
fi
816816

817817
#----------------------------------------------------------#

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ fi
794794
if [ -d "$withdebs" ]; then
795795
software=$(echo "$software" | sed -e "s/hestia-nginx//")
796796
software=$(echo "$software" | sed -e "s/hestia-php//")
797-
software=$(echo "$software" | sed -e "s/hestia//")
797+
software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")
798798
fi
799799
if [ "$release" = '16.04' ]; then
800800
software=$(echo "$software" | sed -e "s/libonig5/libonig2/")

0 commit comments

Comments
 (0)