]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Installing Bash completion
authorFrank Brehm <frank.brehm@pixelpark.com>
Mon, 22 Jun 2020 12:53:31 +0000 (14:53 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Mon, 22 Jun 2020 12:53:31 +0000 (14:53 +0200)
snippets/tpl.210.bashrc-centos8.sh

index dd4441d20d754ed20d007d04ef424d8634737a5d..9c8ef4d9f41d60fbfd02c71c034611b1421d676b 100644 (file)
@@ -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