Fix bash deps

This commit is contained in:
JEEVITHA KANNAN K S 2024-10-05 12:51:34 +05:30
parent 26d0adc829
commit 995a340556
No known key found for this signature in database
GPG Key ID: 5904C34A2F7CE333

View File

@ -5,7 +5,7 @@
gitpath="$HOME/.local/share/mybash"
installDepend() {
if ! command_exists bash bash-completion tar bat tree unzip fontconfig git; then
if [ ! -f "/usr/share/bash-completion/bash_completion" ] || ! command_exists bash tar bat tree unzip fc-list git; then
printf "%b\n" "${YELLOW}Installing Bash...${RC}"
case "$PACKAGER" in
pacman)