gnu: rottlog: Set default value for 'packdir'.
* gnu/packages/admin.scm (rottlog)[arguments]: Add 'set-packdir' phase.
This commit is contained in:
parent
8dc0ecae6c
commit
11e7463482
|
@ -736,6 +736,13 @@ over ssh connections.")
|
||||||
"/etc")
|
"/etc")
|
||||||
"--localstatedir=/var")
|
"--localstatedir=/var")
|
||||||
#:phases (modify-phases %standard-phases
|
#: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
|
(add-after 'install 'install-info
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero? (system* "make" "install-info")))))))
|
(zero? (system* "make" "install-info")))))))
|
||||||
|
|
Loading…
Reference in New Issue