[gdm] data: create gdm.d dconf tree
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] data: create gdm.d dconf tree
- Date: Tue, 20 Sep 2011 02:15:58 +0000 (UTC)
commit 2aec3382aaede8716dcdd39e4666c6a02f90127b
Author: Ray Strode <rstrode redhat com>
Date: Mon Sep 19 22:12:41 2011 -0400
data: create gdm.d dconf tree
If an administrator wants to set settings
at the login screen they need to drop a special
file in /etc/dconf/db/gdm.d and run dconf update.
We don't create the directory for them though.
This commit creates that directory so the admin
doesn't have to.
data/Makefile.am | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 937d922..3175436 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -161,6 +161,8 @@ uninstall-hook:
$(DESTDIR)$(xauthdir)
-rmdir \
+ $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks \
+ $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d \
$(DESTDIR)$(sysconfdir)/dconf/db \
$(DESTDIR)$(sysconfdir)/dconf
@@ -283,6 +285,18 @@ install-data-hook: gdm.conf-custom Xsession Init PostSession PreSession gconf.pa
chown root:root $(DESTDIR)$(sysconfdir)/dconf/db || : ; \
fi
+ if test '!' -d $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d; \
+ chmod 0755 $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d; \
+ chown root:root $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d || : ; \
+ fi
+
+ if test '!' -d $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks; then \
+ $(mkinstalldirs) $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks; \
+ chmod 0755 $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks; \
+ chown root:root $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks || : ; \
+ fi
+
if test '!' -d $(DESTDIR)$(cachedir); then \
$(mkinstalldirs) $(DESTDIR)$(cachedir); \
chmod 1755 $(DESTDIR)$(cachedir); \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]