Use /etc/bash_completion.d, not /etc/profile.d for bash completion script
authorDavid Zeuthen <davidz@redhat.com>
Mon, 28 Nov 2011 15:32:51 +0000 (10:32 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Mon, 28 Nov 2011 15:32:51 +0000 (10:32 -0500)
Also use _DATA, not _SCRIPTS, to ensure that the installed file is not
executable.

Signed-off-by: David Zeuthen <davidz@redhat.com>
tools/Makefile.am

index f7f54a8..23ca1f1 100644 (file)
@@ -58,10 +58,10 @@ umount_udisks2_LDADD =                                      \
 
 # ----------------------------------------------------------------------------------------------------
 
-profiledir = $(sysconfdir)/profile.d
-profile_SCRIPTS = udisksctl-bash-completion.sh
+bash_completiondir = $(sysconfdir)/bash_completion.d
+bash_completion_DATA = udisksctl-bash-completion.sh
 
-EXTRA_DIST = $(profile_SCRIPTS)
+EXTRA_DIST = $(bash_completion_DATA)
 
 clean-local :
        rm -f *~ $(service_DATA) $(dbusconf_DATA)