From 281d39a2a0fa707aee58c6c9d9821b75d648ad37 Mon Sep 17 00:00:00 2001 From: rezzect Date: Wed, 8 May 2024 14:39:54 -0700 Subject: [PATCH] a --- linux-setup/setup.sh | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/linux-setup/setup.sh b/linux-setup/setup.sh index b171c94..957270b 100644 --- a/linux-setup/setup.sh +++ b/linux-setup/setup.sh @@ -66,15 +66,7 @@ installDepend() { ## Check for dependencies. DEPENDENCIES='zsh zoxide trach-cli' echo -e "${YELLOW}Installing dependencies...${RC}" - if [[ $PACKAGER == "pacman" ]]; then - if ! command_exists yay; then - echo "Installing yay..." - sudo ${PACKAGER} --noconfirm -S base-devel - $(cd /opt && sudo git clone https://aur.archlinux.org/yay-git.git && sudo chown -R ${USER}:${USER} ./yay-git && cd yay-git && makepkg --noconfirm -si) - else - echo "Command yay already installed" - fi - yay --noconfirm -S ${DEPENDENCIES} + pacman --noconfirm -S ${DEPENDENCIES} else sudo ${PACKAGER} install -yq ${DEPENDENCIES} fi