From eb35821a5143d18104fdcde9646affcc04faa85e Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 16 Aug 2017 10:15:38 -0400 Subject: [PATCH] build-sys: Move bash completions to /usr/share/ by default This is in line with the "/etc is for sysadmins", "/usr is OS" model; e.g. systemd's bash completions go there. Making this change since I was looking at the required spec file changes. Closes: #1083 Approved by: mbarnes --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 91dc41ab..fa967e92 100644 --- a/configure.ac +++ b/configure.ac @@ -96,7 +96,7 @@ m4_define_default( AS_IF([test -n "$$1"], [$4], [$5])]) PKG_CHECK_VAR(BASH_COMPLETIONSDIR, [bash-completion], [completionsdir], , - BASH_COMPLETIONSDIR="${sysconfdir}/bash_completion.d") + BASH_COMPLETIONSDIR="${datadir}/bash-completion/completions") AC_SUBST(BASH_COMPLETIONSDIR) AM_PATH_GLIB_2_0(,,AC_MSG_ERROR([GLib not found]))