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

Issue with installer + Modified bootstrap_install due switch default branch

Jaap Marcus 5 лет назад
Родитель
Сommit
d9e45048dc
3 измененных файлов с 4 добавлено и 4 удалено
  1. 1 1
      install/hst-install-debian.sh
  2. 1 1
      install/hst-install-ubuntu.sh
  3. 2 2
      src/hst_bootstrap_install.sh

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

@@ -1081,7 +1081,7 @@ echo "BACKUP_MODE='zstd'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Login in screen
-echo "LOGIN_STYLE='default" >> $HESTIA/conf/hestia.conf
+echo "LOGIN_STYLE='default'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf

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

@@ -1119,7 +1119,7 @@ echo "BACKUP_MODE='zstd'" >> $HESTIA/conf/hestia.conf
 echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
 
 # Login in screen
-echo "LOGIN_STYLE='default" >> $HESTIA/conf/hestia.conf
+echo "LOGIN_STYLE='default'" >> $HESTIA/conf/hestia.conf
 
 # Version & Release Branch
 echo "VERSION='${HESTIA_INSTALL_VER}'" >> $HESTIA/conf/hestia.conf

+ 2 - 2
src/hst_bootstrap_install.sh

@@ -2,7 +2,7 @@
 
 # Clean installation bootstrap for development purposes only
 # Usage:    ./hst_bootstrap_install.sh [fork] [branch] [os]
-# Example:  ./hst_bootstrap_install.sh hestiacp master ubuntu
+# Example:  ./hst_bootstrap_install.sh hestiacp main ubuntu
 
 # Define variables
 fork=$1
@@ -15,7 +15,7 @@ wget https://raw.githubusercontent.com/$fork/hestiacp/$branch/src/hst_autocompil
 
 # Execute compiler and build hestia core package
 chmod +x hst_autocompile.sh
-./hst_autocompile.sh --hestia master no
+./hst_autocompile.sh --hestia $branch no
 
 # Execute Hestia Control Panel installer with default dummy options for testing
 bash hst-install-$os.sh -f -y no -e admin@test.local -p P@ssw0rd -s hestia-$branch-$os.test.local --with-debs /tmp/hestiacp-src/debs