lxdm: fix path to lxdm-binary.

This commit is contained in:
Juan RP 2015-06-02 12:49:33 +02:00
parent 212a57a9a5
commit 287df1a413

View file

@ -1,7 +1,7 @@
# Template file for 'lxdm'
pkgname=lxdm
version=0.5.1
revision=4
revision=5
build_style=gnu-configure
build_options="systemd"
configure_args="--sbindir=/usr/bin $(vopt_if systemd --disable-consolekit --enable-consolekit) --with-pam"
@ -40,6 +40,7 @@ post_install() {
if [ -z "$build_option_systemd" ]; then
sed -i 's,vt1,vt7,g' ${DESTDIR}/etc/lxdm/lxdm.conf
fi
sed -i 's,/usr/sbin,/usr/bin,g' ${DESTDIR}/usr/bin/lxdm
vmkdir var/lib/lxdm
echo 'GDK_CORE_DEVICE_EVENTS=true' > ${DESTDIR}/var/lib/lxdm/.pam_environment
}