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
1 changed files with 9 additions and 0 deletions

View File

@ -747,6 +747,15 @@ over ssh connections.")
(("packdir=\"\"") (("packdir=\"\"")
"packdir=\"/var/log\"")) "packdir=\"/var/log\""))
#t)) #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 (add-after 'install 'install-info
(lambda _ (lambda _
(zero? (system* "make" "install-info"))))))) (zero? (system* "make" "install-info")))))))