- make sure /var/lib/lightdm always exists. closes: #762218
git-svn-id: svn://anonscm.debian.org/pkg-xfce/goodies/trunk/lightdm@8613
0c9b3bff-18ee-0310-b944-
d1aa2700132f
libpam-gnome-keyring is not installed. closes: #683508
* debian/control:
- put lipam-systemd before consolekit in alternative. closes: #763187
+ * debian/lightdm.postinst:
+ - make sure /var/lib/lightdm always exists. closes: #762218
-- Yves-Alexis Perez <corsac@debian.org> Sun, 28 Sep 2014 21:48:53 +0200
usermod -s "/bin/false" lightdm
fi
-if [ -d /var/lib/lightdm ]; then
- chown -R lightdm:lightdm /var/lib/lightdm
- chmod 0750 /var/lib/lightdm
-fi
+mkdir -p /var/lib/lightdm
+chown -R lightdm:lightdm /var/lib/lightdm
+chmod 0750 /var/lib/lightdm
# debconf is not a registry, so we only fiddle with the default file if it
# does not exist