Also use _DATA, not _SCRIPTS, to ensure that the installed file is not
executable.
Signed-off-by: David Zeuthen <davidz@redhat.com>
# ----------------------------------------------------------------------------------------------------
-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)