gnu: rottlog: Adjust the default 'weekly' config.

* gnu/packages/admin.scm (rottlog)[arguments]: Add 'tweak-rc-weekly'
phase.
This commit is contained in:
Ludovic Courtès 2016-09-07 10:55:47 +02:00
parent 268ad34e0e
commit 309e523e8f
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -747,6 +747,15 @@ (define-public rottlog
(("packdir=\"\"")
"packdir=\"/var/log\""))
#t))
(add-before 'install 'tweak-rc-weekly
(lambda _
(substitute* "rc/weekly"
(("/bin/kill")
(which "kill"))
(("syslogd\\.pid")
;; The file is called 'syslog.pid' (no 'd').
"syslog.pid"))
#t))
(add-after 'install 'install-info
(lambda _
(zero? (system* "make" "install-info")))))))