guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Marius Bakke
Subject: 02/03: gnu: rottlog: Remove hard-coded '/usr/sbin/sendmail' reference.
Date: Sun, 22 Oct 2017 07:23:28 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit d436c6b56673608e1e44ba87c211bc3ec4d747ca
Author: Marius Bakke <address@hidden>
Date:   Sun Oct 22 13:05:04 2017 +0200

    gnu: rottlog: Remove hard-coded '/usr/sbin/sendmail' reference.
    
    * gnu/packages/admin.scm (rottlog)[arguments]: Add 'patch-paths' phase.
---
 gnu/packages/admin.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 265ca63..cb5e86d 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]