From 94060a17a41720eef1b5920d0b56e009f83d900c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Mon, 22 Jun 2020 14:53:31 +0200 Subject: [PATCH] Installing Bash completion --- snippets/tpl.210.bashrc-centos8.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snippets/tpl.210.bashrc-centos8.sh b/snippets/tpl.210.bashrc-centos8.sh index dd4441d..9c8ef4d 100644 --- a/snippets/tpl.210.bashrc-centos8.sh +++ b/snippets/tpl.210.bashrc-centos8.sh @@ -22,6 +22,14 @@ set_bashrc_centos8() { fi rm -fv "${tmp_file}" + echo + log "Installing bash-completion ..." + if yum install -y "bash-completion" ; then + : + else + echo "[$(date)]: Could not install bash-completion" | tee -a "${ERROR_POINTER}" + fi + } set_bashrc_centos8 -- 2.39.5