mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-05 13:15:21 +00:00
Fix bash deps (#763)
This commit is contained in:
parent
abcf7fc376
commit
e29ca044c0
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user