pm-utils: get rid of logrotate files.
This commit is contained in:
parent
733495a732
commit
76732c8dd2
2 changed files with 1 additions and 9 deletions
|
@ -1,5 +0,0 @@
|
||||||
/var/log/pm-powersave.log /var/log/pm-suspend.log {
|
|
||||||
sharedscripts
|
|
||||||
copytruncate
|
|
||||||
missingok
|
|
||||||
}
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'pm-utils'
|
# Template file for 'pm-utils'
|
||||||
pkgname=pm-utils
|
pkgname=pm-utils
|
||||||
version=1.4.1
|
version=1.4.1
|
||||||
revision=5
|
revision=6
|
||||||
patch_args="-Np1"
|
patch_args="-Np1"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--libdir=/usr/lib"
|
configure_args="--libdir=/usr/lib"
|
||||||
|
@ -32,9 +32,6 @@ post_install() {
|
||||||
for f in harddrive hal-cd-polling; do
|
for f in harddrive hal-cd-polling; do
|
||||||
rm -f ${DESTDIR}/usr/lib/pm-utils/power.d/$f
|
rm -f ${DESTDIR}/usr/lib/pm-utils/power.d/$f
|
||||||
done
|
done
|
||||||
# Install logrotate file.
|
|
||||||
install -D -m644 ${FILESDIR}/$pkgname.logrotate \
|
|
||||||
${DESTDIR}/etc/logrotate.d/$pkgname
|
|
||||||
mv ${XBPS_BUILDDIR}/video-quirks/*.quirkdb ${DESTDIR}/usr/lib/pm-utils
|
mv ${XBPS_BUILDDIR}/video-quirks/*.quirkdb ${DESTDIR}/usr/lib/pm-utils
|
||||||
rmdir ${XBPS_BUILDDIR}/video-quirks
|
rmdir ${XBPS_BUILDDIR}/video-quirks
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue