[gdm] data: only run dconf update if DESTDIR is unset



commit ba1bd2b877b96c1244893d73539667433bca85ae
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 19 11:36:23 2011 -0400

    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.

 data/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index 6937eb3..34f7b3e 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 || :



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]