summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2011-10-19 11:36:23 -0400
committerRay Strode <rstrode@redhat.com>2011-10-19 11:37:56 -0400
commitba1bd2b877b96c1244893d73539667433bca85ae (patch)
treead63fdc21790195dc581f68c106245c9c9797d70
parentfbfef0841f47dd0e7d389bd4388fab126536d819 (diff)
downloadgdm-ba1bd2b877b96c1244893d73539667433bca85ae.tar.gz
data: only run dconf update if DESTDIR is unset
There's really no point in updating the dconf db if we haven't changed it.
-rw-r--r--data/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 6937eb33..34f7b3ec 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -336,4 +336,4 @@ install-data-hook: gdm.conf-custom Xsession Init PostSession PreSession gconf.pa
$(INSTALL_DATA) $(srcdir)/dconf-profile $(DESTDIR)$(sysconfdir)/dconf/profile/gdm
$(INSTALL_DATA) $(srcdir)/00-upstream-settings $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d
$(INSTALL_DATA) $(srcdir)/00-upstream-settings-locks $(DESTDIR)$(sysconfdir)/dconf/db/gdm.d/locks
- dconf update || :
+ test -z "$(DESTDIR)" && dconf update || :