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
1 changed files with 2 additions and 1 deletions

View File

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