gnu: rottlog: Remove hard-coded '/usr/sbin/sendmail' reference.

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'patch-paths' phase.
This commit is contained in:
Marius Bakke 2017-10-22 13:05:04 +02:00
parent 58f0a19c58
commit d436c6b566
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -783,6 +783,11 @@ (define-public rottlog
"/etc"))
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-paths
(lambda _
(substitute* "rc/rc"
(("/usr/sbin/sendmail") "sendmail"))
#t))
(add-after 'build 'set-packdir
(lambda _
;; Set a default location for archived logs.