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

Fix missing fi and missed code parts.

Raphael Schneeberger 5 лет назад
Родитель
Сommit
0764cfac87
2 измененных файлов с 1 добавлено и 3 удалено
  1. 0 3
      install/hst-install-debian.sh
  2. 1 0
      install/hst-install-ubuntu.sh

+ 0 - 3
install/hst-install-debian.sh

@@ -1211,9 +1211,6 @@ if [ "$apache" = 'yes' ]; then
     update-rc.d apache2 defaults > /dev/null 2>&1
     systemctl start apache2 >> $LOG
     check_result $? "apache2 start failed"
-else
-    update-rc.d apache2 disable > /dev/null 2>&1
-    systemctl start apache2 > /dev/null 2>&1
 fi
 
 

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

@@ -1183,6 +1183,7 @@ if [ "$apache" = 'yes' ]; then
     update-rc.d apache2 defaults > /dev/null 2>&1
     systemctl start apache2 >> $LOG
     check_result $? "apache2 start failed"
+fi
 
 
 #----------------------------------------------------------#