Ver código fonte

use apt-get to install packages

This fixes the output "WARNING: apt does not have a stable CLI interface. Use with caution in scripts."
pull/230/head
William Behrens 1 ano atrás
committed by GitHub
pai
commit
dd889ffeef
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 4AEE18F83AFDEB23
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      emailwiz.sh

+ 2
- 2
emailwiz.sh Ver arquivo

@@ -37,9 +37,9 @@ echo "Setting umask to 0022..."
umask 0022

echo "Installing programs..."
apt install postfix postfix-pcre dovecot-imapd dovecot-sieve opendkim spamassassin spamc
apt-get install postfix postfix-pcre dovecot-imapd dovecot-sieve opendkim spamassassin spamc
# Check if OpenDKIM is installed and install it if not.
which opendkim-genkey >/dev/null 2>&1 || apt install opendkim-tools
which opendkim-genkey >/dev/null 2>&1 || apt-get install opendkim-tools
domain="$(cat /etc/mailname)"
subdom=${MAIL_SUBDOM:-mail}
maildomain="$subdom.$domain"


Carregando…
Cancelar
Salvar