summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-07-15 12:00:21 -0400
committerRyan Lortie <desrt@desrt.ca>2012-07-15 12:01:40 -0400
commit8becbe77bb78c0fe0641d4eeb592803c7b5737f8 (patch)
tree7ef319c4733eec2c0a32ff3de72287074475c86d /bin
parentcdf709def63b2d63a664aff1120ab9e0cf3a7048 (diff)
downloaddconf-8becbe77bb78c0fe0641d4eeb592803c7b5737f8.tar.gz
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
Diffstat (limited to 'bin')
-rw-r--r--bin/Makefile.am4
-rw-r--r--bin/completion/dconf (renamed from bin/dconf-bash-completion.sh)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
index 37ab477..37ab477 100644
--- a/bin/dconf-bash-completion.sh
+++ b/bin/completion/dconf