[glib/glib-2-32] Install bash completion files in /usr/share/
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-32] Install bash completion files in /usr/share/
- Date: Sat, 14 Jul 2012 23:21:04 +0000 (UTC)
commit 894cf926505c595c96d96d0c2345417e9eeefd4c
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Jun 21 06:11:58 2012 -0400
Install bash completion files in /usr/share/
The bash-completion code nowadays expects completion files to
be installed in /usr/share/bash-completion/completions, and
expects them to be named like the command they are completing
for.
https://bugzilla.gnome.org/show_bug.cgi?id=677782
gio/Makefile.am | 8 ++++----
gio/{gdbus-bash-completion.sh => completion/gdbus} | 0
.../gresource} | 0
.../gsettings} | 0
4 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gio/Makefile.am b/gio/Makefile.am
index 82c5ba1..69a8cca 100644
--- a/gio/Makefile.am
+++ b/gio/Makefile.am
@@ -715,11 +715,11 @@ gdbus_LDADD = libgio-2.0.la \
$(top_builddir)/glib/libglib-2.0.la \
$(top_builddir)/gobject/libgobject-2.0.la
-completiondir = $(sysconfdir)/bash_completion.d
+completiondir = $(datadir)/bash-completion/completions
completion_DATA = \
- gdbus-bash-completion.sh \
- gsettings-bash-completion.sh \
- gresource-bash-completion.sh
+ completion/gdbus \
+ completion/gsettings \
+ completion/gresource
EXTRA_DIST += $(completion_DATA)
# ------------------------------------------------------------------------
diff --git a/gio/gdbus-bash-completion.sh b/gio/completion/gdbus
similarity index 100%
rename from gio/gdbus-bash-completion.sh
rename to gio/completion/gdbus
diff --git a/gio/gresource-bash-completion.sh b/gio/completion/gresource
similarity index 100%
rename from gio/gresource-bash-completion.sh
rename to gio/completion/gresource
diff --git a/gio/gsettings-bash-completion.sh b/gio/completion/gsettings
similarity index 100%
rename from gio/gsettings-bash-completion.sh
rename to gio/completion/gsettings
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]