eq not working as expected

This commit is contained in:
José Roberto Sánchez
2022-11-10 00:36:34 -06:00
committed by GitHub
parent aced0f5113
commit 369acd0bca

View File

@@ -60,7 +60,7 @@ installDepend() {
## Check for dependencies.
DEPENDENCIES='autojump bash bash-completion tar neovim'
echo -e "${YELLOW}Installing dependencies...${RC}"
if [[ $PACKAGER -eq "pacman" ]]; then
if [[ $PACKAGER == "pacman" ]]; then
if ! command_exists yay; then
echo "Installing yay..."
sudo ${PACKAGER} --noconfirm -S base-devel