From 6a1d13ade2622ce0cd904e533797084fedd818b5 Mon Sep 17 00:00:00 2001 From: Alexander Batyrshin <0x62ash@gmail.com> Date: Sun, 13 Oct 2024 02:54:45 +0300 Subject: [PATCH] Fix bash-completion for debian distro Check nodetool/cqlsh for bash-completion with _have instead of type patch by Alexander Batyrshin; reviewed by Mick Semb Wever for CASSANDRA-19999 --- CHANGES.txt | 1 + debian/nodetool-completion | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 20d94bd4e6..934b054aac 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,4 +1,5 @@ 4.0.15 + * Fix bash-completion for debian distro (CASSANDRA-19999) * Ensure thread-safety for CommitLogArchiver in CommitLog (CASSANDRA-19960) * Fix text containing "/*" being interpreted as multiline comment in cqlsh (CASSANDRA-17667) * Fix indexing of a frozen collection that is the clustering key and reversed (CASSANDRA-19889) diff --git a/debian/nodetool-completion b/debian/nodetool-completion index c17af0f525..b62a178193 100644 --- a/debian/nodetool-completion +++ b/debian/nodetool-completion @@ -15,7 +15,7 @@ # limitations under the License. # # -have nodetool && have cqlsh && +_have nodetool && _have cqlsh && { show_keyspaces()