From 4440e6dd4a3cfc58796b9aba7e0c8aa87595cff0 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 1 Mar 2022 15:43:16 -0300 Subject: [PATCH] Fix mode bug --- pkgbuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgbuild.sh b/pkgbuild.sh index a8c65b3..18b1893 100755 --- a/pkgbuild.sh +++ b/pkgbuild.sh @@ -23,7 +23,7 @@ installAurDeps() { done if [ "${#aurPkgs[@]}" -gt 0 ]; then pacman -S --noconfirm --needed git - git clone https://aur.archlinux.org/paru-bin.git + sudo -u calbuilder git clone https://aur.archlinux.org/paru-bin.git cd paru-bin; sudo -Hu calbuilder makepkg -si --noconfirm; cd .. for aurPkg in "${aurPkgs[@]}"; do paru -S --noconfirm "$aurPkg"