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

Remove obsolete if condition for 20.04

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

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

@@ -1546,7 +1546,7 @@ if [ "$dovecot" = 'yes' ] && [ "$exim" = 'yes' ] && [ "$mysql" = 'yes' ]; then
     phpenmod mcrypt > /dev/null 2>&1
 
     # Restart services
-    if [ "$apache" = 'yes' ] && [ "$release" != '20.04' ]; then
+    if [ "$apache" = 'yes' ]; then
         systemctl restart apache2 >> $LOG
     fi
     if [ "$nginx" = 'yes' ]; then