[dconf] Install dconf CLI bash completion in /usr/share



commit 8becbe77bb78c0fe0641d4eeb592803c7b5737f8
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Jul 15 12:00:21 2012 -0400

    Install dconf CLI bash completion in /usr/share
    
    Some short while ago the maintainers of bash-completion came to the
    pretty reasonable conclusion that completion files are not configuration
    data and therefore should be stored in /usr/share rather than /etc.
    
    The /etc path was kept for backwards compatibility, but we should really
    get with the new system.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678536

 bin/Makefile.am                                    |    4 ++--
 bin/{dconf-bash-completion.sh => completion/dconf} |    0
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bin/Makefile.am b/bin/Makefile.am
index e0570e9..7fc29bd 100644
--- a/bin/Makefile.am
+++ b/bin/Makefile.am
@@ -21,6 +21,6 @@ dconf_SOURCES = \
 	dconf-dump.vala		\
 	dconf.vala
 
-completiondir = $(sysconfdir)/bash_completion.d
-completion_DATA = dconf-bash-completion.sh
+completiondir = $(datadir)/bash-completion/completions
+completion_DATA = completion/dconf
 EXTRA_DIST = $(completion_DATA)
diff --git a/bin/dconf-bash-completion.sh b/bin/completion/dconf
similarity index 100%
rename from bin/dconf-bash-completion.sh
rename to bin/completion/dconf



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