fix packaging if bash-completions directory wasn't present on the build

machine. reported/analysed by naddy@
This commit is contained in:
sthen
2024-04-26 12:43:31 +00:00
parent 6bc815d757
commit f42ee3abc2
+12
View File
@@ -0,0 +1,12 @@
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -146,7 +146,7 @@ uninstall-doc :
$(RM) -r $(DESTDIR)$(docdir)
install-completion :
- if [ -d $(compdir) ] ; then \
+ if true || [ -d $(compdir) ] ; then \
$(INSTALL_DIR) $(DESTDIR)$(compdir) ; \
for program in $(PROGRAMS) ; do \
$(INSTALL_DATA) completion/$$program.bash $(DESTDIR)$(compdir)/$$program ; done ; \