diff -urN a/scripts/Makefile.in b/scripts/Makefile.in
--- a/scripts/Makefile.in	2016-05-17 15:50:52.000000000 -0400
+++ b/scripts/Makefile.in	2023-11-23 00:23:28.000000000 -0500
@@ -537,8 +537,8 @@
 	logme
 
 install-exec-local:
-		$(mkinstalldirs) $(DESTDIR)$(sysconfdir)/bash_completion.d && \
-		$(INSTALL_DATA) porg_bash_completion $(DESTDIR)$(sysconfdir)/bash_completion.d
+		$(mkinstalldirs) $(DESTDIR)$(datarootdir)/bash-completion/completions && \
+		$(INSTALL_DATA) porg_bash_completion $(DESTDIR)$(datarootdir)/bash-completion/completions/porg
 
 logme:
 	ls $(logme_files) | porg -lp+ porg-$(PACKAGE_VERSION)
