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

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'patch-paths' phase.
master
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
1 changed files with 5 additions and 0 deletions

View File

@ -783,6 +783,11 @@ over ssh connections.")
"/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.