From cdcea64098b3f64eacb0d1b7cc281f1ed576f5ae Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 9 Nov 2011 17:04:52 +0100 Subject: [PATCH] lightdm: use make_dirs, bumprev. --- srcpkgs/lightdm/INSTALL | 2 -- srcpkgs/lightdm/template | 3 ++- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/srcpkgs/lightdm/INSTALL b/srcpkgs/lightdm/INSTALL index 8505df50c2c..1b08a3c2a13 100644 --- a/srcpkgs/lightdm/INSTALL +++ b/srcpkgs/lightdm/INSTALL @@ -1,7 +1,5 @@ case ${ACTION} in post) - [ ! -d var/cache/lightdm ] && mkdir -p var/cache/lightdm - chown lightdm:lightdm var/cache/lightdm cat <<_EOF ========================================================================== To make lightdm work, a greeter package must be installed: diff --git a/srcpkgs/lightdm/template b/srcpkgs/lightdm/template index c7c7808c563..9e7584c490b 100644 --- a/srcpkgs/lightdm/template +++ b/srcpkgs/lightdm/template @@ -1,6 +1,7 @@ # Template file for 'lightdm' pkgname=lightdm version=1.0.6 +revision=1 homepage="https://launchpad.net/lightdm" distfiles="http://launchpad.net/lightdm/trunk/$version/+download/lightdm-$version.tar.gz" build_style=gnu-configure @@ -25,7 +26,7 @@ conf_files=" system_accounts="lightdm" lightdm_homedir="/var/cache/lightdm" systemd_services="lightdm.service" -keep_empty_dirs=yes +make_dirs="/var/cache/lightdm 0755 lightdm lightdm" subpackages="liblightdm-gobject liblightdm-qt lightdm-qt-greeter" subpackages="${subpackages} lightdm-gtk-greeter lightdm-devel"