Compare commits

...

2 Commits

Author SHA1 Message Date
JEEVITHA KANNAN K S
d72ebbc942
Merge 995a340556 into 79eb752552 2024-10-08 23:40:02 +01:00
JEEVITHA KANNAN K S
995a340556
Fix bash deps 2024-10-05 12:51:34 +05:30

View File

@ -5,16 +5,16 @@
gitpath="$HOME/.local/share/mybash" gitpath="$HOME/.local/share/mybash"
installDepend() { 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}" printf "%b\n" "${YELLOW}Installing Bash...${RC}"
case "$PACKAGER" in case "$PACKAGER" in
pacman) pacman)
"$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm bash bash-completion tar bat tree unzip fontconfig git "$ESCALATION_TOOL" "$PACKAGER" -S --needed --noconfirm bash bash-completion tar bat tree unzip fontconfig git
;; ;;
*) *)
"$ESCALATION_TOOL" "$PACKAGER" install -y bash bash-completion tar bat tree unzip fontconfig git "$ESCALATION_TOOL" "$PACKAGER" install -y bash bash-completion tar bat tree unzip fontconfig git
;; ;;
esac esac
fi fi
} }