gnu: opensmtpd: Clarify phase name.

* gnu/packages/mail.scm (opensmtpd)[arguments]: Rename
‘install-compatibilitymode’ to ‘install-compatibility-links’ and avoid
needless abbrevs while at it.
This commit is contained in:
Tobias Geerinckx-Rice 2018-06-08 09:54:30 +02:00
parent 19fed04915
commit a1eabab1a3
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79

@ -2030,12 +2030,12 @@ transfer protocols.")
;; historical interfaces such as sendmail, newaliases or makemap, the
;; smtpctl utility can operate in compatibility mode if called with the
;; historical name.
(add-after 'install 'install-compabilitymode
(lambda _
(let* ((out (assoc-ref %outputs "out"))
(add-after 'install 'install-compability-links
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))
(sbin (string-append out "/sbin/")))
(for-each (lambda (cmd)
(symlink "smtpctl" (string-append sbin cmd)))
(for-each (lambda (command)
(symlink "smtpctl" (string-append sbin command)))
'("makemap" "sendmail" "send-mail"
"newaliases" "mailq")))
#t)))))