Correction : {host,local,remote}/ : duplicity + MySQL.
[lhc/ateliers.git] / etc / sv / postfix / local.sh
index 8d6230d..2c64f52 100644 (file)
@@ -1,5 +1,5 @@
-sudo test -f /etc/postfix/$local_domainname/smtpd/x509/key.pem ||
-printf '%s\n' "$(tput rev)run before: remote/runit-configure dovecot$(tput sgr0)" && exit 1
+hint="run before: remote/runit-configure $sv"
+assert 'sudo test -f /etc/postfix/$local_domainname/smtpd/x509/key.pem' hint
 
 sudo debconf-set-selections <<-EOF
        postfix postfix/main_mailer_type        select  No configuration