logrotate: ensure /etc/logrotate.d exists
This commit is contained in:
parent
ec00d1a90b
commit
c2363ab3f7
1 changed files with 2 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'logrotate'
|
# Template file for 'logrotate'
|
||||||
pkgname=logrotate
|
pkgname=logrotate
|
||||||
version=3.15.0
|
version=3.15.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
makedepends="acl-devel popt-devel"
|
makedepends="acl-devel popt-devel"
|
||||||
conf_files="/etc/logrotate.conf"
|
conf_files="/etc/logrotate.conf"
|
||||||
|
@ -11,6 +11,7 @@ license="GPL-2.0-or-later"
|
||||||
homepage="https://github.com/logrotate/logrotate"
|
homepage="https://github.com/logrotate/logrotate"
|
||||||
distfiles="${homepage}/releases/download/${version}/logrotate-${version}.tar.xz"
|
distfiles="${homepage}/releases/download/${version}/logrotate-${version}.tar.xz"
|
||||||
checksum=313612c4776a305393454c874ef590d8acf84c9ffa648717731dfe902284ff8f
|
checksum=313612c4776a305393454c874ef590d8acf84c9ffa648717731dfe902284ff8f
|
||||||
|
make_dirs="/etc/logrotate.d 0755 root root"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vconf ${FILESDIR}/logrotate.conf
|
vconf ${FILESDIR}/logrotate.conf
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue