Explorar el Código

Fix if statement in installer

Jaap Marcus hace 4 años
padre
commit
c244f83c62
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      install/hst-install-debian.sh

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

@@ -1597,8 +1597,8 @@ if [ "$exim" = 'yes' ]; then
     echo "[ * ] Configuring Exim mail server..."
     echo "[ * ] Configuring Exim mail server..."
     gpasswd -a Debian-exim mail > /dev/null 2>&1
     gpasswd -a Debian-exim mail > /dev/null 2>&1
     exim_version=$(exim4 --version |  head -1 | awk  '{print $3}' | cut -f -2 -d .);
     exim_version=$(exim4 --version |  head -1 | awk  '{print $3}' | cut -f -2 -d .);
-    if [ "exim_version" = "4.94" ]; then
-      cp -f $HESTIA_INSTALL_DIR/exim/exim4.conf.4.94.template /etc/exim4/exim/exim4.conf.template
+    if [ "$exim_version" = "4.94" ]; then
+      cp -f $HESTIA_INSTALL_DIR/exim/exim4.conf.4.94.template /etc/exim/exim4.conf.template
     else
     else
       cp -f $HESTIA_INSTALL_DIR/exim/exim4.conf.template /etc/exim4/
       cp -f $HESTIA_INSTALL_DIR/exim/exim4.conf.template /etc/exim4/
     fi
     fi