From 0719fb985f20c39d73f74e8d63e0fd14928fc7bf Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Tue, 23 Apr 2024 20:03:54 +0000 Subject: [PATCH] Switch to paru for the AUR --- install.sh | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index b4b3528b..11f0c135 100755 --- a/install.sh +++ b/install.sh @@ -1,13 +1,18 @@ #! /bin/bash -source scripts/p.sh +if [ ! $(command -v paru) ]; then + sudo pacman -S --needed base-devel + git clone https://aur.archlinux.org/paru.git + cd paru + makepkg -si + cd .. + rm -rf paru +fi # Install script dependencies -p i curl git stow bat fzf eza zoxide less +paru -Sy curl git stow bat fzf eza zoxide less -if [ ! $(command -v brew) ]; then - /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" -fi +paru -Sy vscodium-bin if [ $(pwd) != "$HOME/dotfiles" ]; then cd $HOME