Browse Source

Do not install Roundcube if mail is not installed

Do not install Roundcube if Exim is not installed

If Exim is not installed, dovecot is excluded from the software list as well so Roundcube does not need to be installed.
Kristan Kenney 7 years ago
parent
commit
5489024938
2 changed files with 12 additions and 1 deletions
  1. 6 1
      install/hst-install-debian.sh
  2. 6 0
      install/hst-install-ubuntu.sh

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

@@ -737,17 +737,22 @@ if [ "$exim" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/dovecot-pop3d//")
     software=$(echo "$software" | sed -e "s/clamav-daemon//")
     software=$(echo "$software" | sed -e "s/spamassassin//")
+    software=$(echo "$software" | sed -e "s/roundcube-core//")
+    software=$(echo "$software" | sed -e "s/roundcube-mysql//")
+    software=$(echo "$software" | sed -e "s/roundcube-plugins//")
 fi
 if [ "$clamd" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/clamav-daemon//")
 fi
 if [ "$spamd" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/spamassassin//")
-    software=$(echo "$software" | sed -e "s/libmail-dkim-perl//")
 fi
 if [ "$dovecot" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/dovecot-imapd//")
     software=$(echo "$software" | sed -e "s/dovecot-pop3d//")
+    software=$(echo "$software" | sed -e "s/roundcube-core//")
+    software=$(echo "$software" | sed -e "s/roundcube-mysql//")
+    software=$(echo "$software" | sed -e "s/roundcube-plugins//")
 fi
 if [ "$mysql" = 'no' ]; then
     software=$(echo "$software" | sed -e 's/mariadb-server//')

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

@@ -704,6 +704,9 @@ if [ "$exim" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/dovecot-pop3d//")
     software=$(echo "$software" | sed -e "s/clamav-daemon//")
     software=$(echo "$software" | sed -e "s/spamassassin//")
+    software=$(echo "$software" | sed -e "s/roundcube-core//")
+    software=$(echo "$software" | sed -e "s/roundcube-mysql//")
+    software=$(echo "$software" | sed -e "s/roundcube-plugins//")
 fi
 if [ "$clamd" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/clamav-daemon//")
@@ -714,6 +717,9 @@ fi
 if [ "$dovecot" = 'no' ]; then
     software=$(echo "$software" | sed -e "s/dovecot-imapd//")
     software=$(echo "$software" | sed -e "s/dovecot-pop3d//")
+    software=$(echo "$software" | sed -e "s/roundcube-core//")
+    software=$(echo "$software" | sed -e "s/roundcube-mysql//")
+    software=$(echo "$software" | sed -e "s/roundcube-plugins//")
 fi
 if [ "$mysql" = 'no' ]; then
     software=$(echo "$software" | sed -e 's/mariadb-server//')