From c320c33375604b7627840913a1308954eb8c5d03 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 24 Mar 2014 18:01:21 +0100 Subject: [PATCH] slim: use /run/slim.lock by default, because /run/lock might not exist. --- srcpkgs/slim/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/slim/template b/srcpkgs/slim/template index df6cd30da35..f046e608025 100644 --- a/srcpkgs/slim/template +++ b/srcpkgs/slim/template @@ -1,7 +1,7 @@ # Template file for 'slim' pkgname=slim version=1.3.6 -revision=3 +revision=4 build_style=cmake configure_args="-DUSE_PAM=yes -DUSE_CONSOLEKIT=no -DFREETYPE_INCLUDE_DIR_freetype2=${XBPS_CROSS_BASE}/usr/include/freetype2" hostmakedepends="cmake pkg-config" @@ -22,5 +22,5 @@ pre_configure() { post_install() { vinstall ${FILESDIR}/slim.pam 644 etc/pam.d slim sed -e 's|#xserver_arguments.*|xserver_arguments -nolisten tcp vt01|' \ - -e 's|/var/run/slim.lock|/var/lock/slim.lock|' -i ${DESTDIR}/etc/slim.conf + -e 's|/var/run/slim.lock|/run/slim.lock|' -i ${DESTDIR}/etc/slim.conf }