gnu: rottlog: Set default value for 'packdir'.

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'set-packdir' phase.
This commit is contained in:
Jan Nieuwenhuizen 2016-09-07 10:34:48 +02:00 committed by Ludovic Courtès
parent 8dc0ecae6c
commit 11e7463482
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 7 additions and 0 deletions

View File

@ -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")))))))