ConsoleKit: use make_dirs for logdir, bumprev.

This commit is contained in:
Juan RP 2011-11-09 19:50:39 +01:00
parent 31bb7f03ae
commit 7c4cdd62d9
2 changed files with 10 additions and 1 deletions

View file

@ -0,0 +1,8 @@
#
# This script removes leftovers dirs at purge time.
#
case "${ACTION}" in
purge)
[ -d var/log/ConsoleKit ] && rm -rf var/log/ConsoleKit
;;
esac

View file

@ -1,7 +1,7 @@
# Template file for 'ConsoleKit'
pkgname=ConsoleKit
version=0.4.5
revision=3
revision=4
distfiles="http://www.freedesktop.org/software/$pkgname/dist/$pkgname-$version.tar.bz2"
build_style=gnu-configure
configure_args="--enable-docbook-docs --enable-pam-module
@ -20,6 +20,7 @@ long_desc="
systemd_services="console-kit-daemon.service"
conf_files="/etc/logrotate.d/ConsoleKit"
subpackages="$pkgname-devel $pkgname-x11"
make_dirs="/var/log/${pkgname} 0755 root root"
Add_dependency run glibc
Add_dependency run dbus-libs