[arch-commits] Commit in lightdm/trunk (PKGBUILD lightdm.install)
Maxime Gauduin
alucryd at nymeria.archlinux.org
Fri Sep 13 08:31:43 UTC 2013
Date: Friday, September 13, 2013 @ 10:31:42
Author: alucryd
Revision: 97117
FS#36907: lightdm 1:1.6.1-4
Modified:
lightdm/trunk/PKGBUILD
lightdm/trunk/lightdm.install
-----------------+
PKGBUILD | 6 +++---
lightdm.install | 1 -
2 files changed, 3 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2013-09-13 08:24:09 UTC (rev 97116)
+++ PKGBUILD 2013-09-13 08:31:42 UTC (rev 97117)
@@ -5,7 +5,7 @@
pkgbase=lightdm
pkgname=('lightdm' 'liblightdm-qt4' 'liblightdm-qt5')
pkgver=1.6.1
-pkgrel=3
+pkgrel=4
epoch=1
pkgdesc="A lightweight display manager"
arch=('i686' 'x86_64')
@@ -70,15 +70,15 @@
make DESTDIR="${pkgdir}" install
make DESTDIR="${pkgdir}" -C liblightdm-qt uninstall
install -m 755 ../Xsession "${pkgdir}"/etc/lightdm/Xsession
- install -dm 711 "${pkgdir}"/var/log/lightdm
rm -rf "${pkgdir}"/etc/init
rm -rf "${pkgdir}"/usr/include/lightdm-qt{,5}-2
-# Persistent home
install -dm 770 "${pkgdir}"/var/lib/lightdm
+ install -dm 711 "${pkgdir}"/var/log/lightdm
chmod +t "${pkgdir}"/var/lib/lightdm
echo 'GDK_CORE_DEVICE_EVENTS=true' > "${pkgdir}"/var/lib/lightdm/.pam_environment
chmod 644 "${pkgdir}"/var/lib/lightdm/.pam_environment
+ chown 620:620 -R "${pkgdir}"/var/{lib,log}/lightdm
# PAM
install -m 644 ../lightdm.pam "${pkgdir}"/etc/pam.d/lightdm
Modified: lightdm.install
===================================================================
--- lightdm.install 2013-09-13 08:24:09 UTC (rev 97116)
+++ lightdm.install 2013-09-13 08:31:42 UTC (rev 97117)
@@ -3,7 +3,6 @@
getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm
passwd -l lightdm > /dev/null
systemd-tmpfiles --create /usr/lib/tmpfiles.d/lightdm.conf
- chown lightdm:lightdm /var/log/lightdm > /dev/null
}
post_upgrade() {
More information about the arch-commits
mailing list