pm-utils: add logrotate script. Bump revision.
--HG-- extra : convert_revision : 3095be71577fa46c83afa1a39464a4871064c05a
This commit is contained in:
parent
20f073e382
commit
c10199a227
2 changed files with 12 additions and 0 deletions
5
templates/pm-utils/files/pm-utils.logrotate
Normal file
5
templates/pm-utils/files/pm-utils.logrotate
Normal file
|
@ -0,0 +1,5 @@
|
|||
/var/log/pm-powersave.log /var/log/pm-suspend.log {
|
||||
sharedscripts
|
||||
copytruncate
|
||||
missingok
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
# Template file for 'pm-utils'
|
||||
pkgname=pm-utils
|
||||
version=1.2.5
|
||||
revision=1
|
||||
distfiles="http://$pkgname.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
||||
build_style=gnu_configure
|
||||
short_desc="Power Management Utilities"
|
||||
|
@ -13,3 +14,9 @@ long_desc="
|
|||
Add_dependency full glibc
|
||||
Add_dependency full procps
|
||||
Add_dependency full vbetool
|
||||
|
||||
post_install()
|
||||
{
|
||||
install -D -m644 ${FILESDIR}/$pkgname.logrotate \
|
||||
${DESTDIR}/etc/logrotate.d/$pkgname
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue