diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2016-09-07 10:34:48 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-09-07 11:49:47 +0200 |
commit | 11e7463482cd64789008618a647725ae0b2a81e6 (patch) | |
tree | 1424d675b9aa521a687e982b8e6e6e43ca4057fb /gnu/packages/admin.scm | |
parent | 8dc0ecae6c92d050db2e33ab7b6e3ec6609fb321 (diff) | |
download | guix-11e7463482cd64789008618a647725ae0b2a81e6.tar guix-11e7463482cd64789008618a647725ae0b2a81e6.tar.gz |
gnu: rottlog: Set default value for 'packdir'.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'set-packdir' phase.
Diffstat (limited to 'gnu/packages/admin.scm')
-rw-r--r-- | gnu/packages/admin.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 86fa7846d1..c60ad308c1 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -736,6 +736,13 @@ over ssh connections.") "/etc") "--localstatedir=/var") #:phases (modify-phases %standard-phases + (add-after 'build 'set-packdir + (lambda _ + ;; Set a default location for archived logs. + (substitute* "rc/rc" + (("packdir=\"\"") + "packdir=\"/var/log\"")) + #t)) (add-after 'install 'install-info (lambda _ (zero? (system* "make" "install-info"))))))) |