slim: use /run/slim.lock by default, because /run/lock might not exist.

This commit is contained in:
Juan RP 2014-03-24 18:01:21 +01:00
parent ec1a60721b
commit c320c33375

View file

@ -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
}