Răsfoiți Sursa

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
Jaap Marcus 5 ani în urmă
părinte
comite
d306e57059
2 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh

+ 1 - 1
install/hst-install-debian.sh

@@ -811,7 +811,7 @@ fi
 if [ -d "$withdebs" ]; then
     software=$(echo "$software" | sed -e "s/hestia-nginx//")
     software=$(echo "$software" | sed -e "s/hestia-php//")
-    software=$(echo "$software" | sed -e "s/hestia//")
+    software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")
 fi
 
 #----------------------------------------------------------#

+ 1 - 1
install/hst-install-ubuntu.sh

@@ -794,7 +794,7 @@ fi
 if [ -d "$withdebs" ]; then
     software=$(echo "$software" | sed -e "s/hestia-nginx//")
     software=$(echo "$software" | sed -e "s/hestia-php//")
-    software=$(echo "$software" | sed -e "s/hestia//")
+    software=$(echo "$software" | sed -e "s/hestia=${HESTIA_INSTALL_VER}//")        
 fi
 if [ "$release" = '16.04' ]; then
     software=$(echo "$software" | sed -e "s/libonig5/libonig2/")