From 91da8282d880a9f3d2697f534f7079245839fd3b Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 19 Apr 2022 14:17:27 -0300 Subject: [PATCH] Fix runInChroot bug (/tmp) --- install.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fe664a4..95e266d 100755 --- a/install.sh +++ b/install.sh @@ -251,8 +251,7 @@ checkForParu() { runInChroot "sed -i 's/# %wheel ALL=(ALL) NOPASSWD: ALL/%wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers" checkSudoers printWaitBox - runInChroot "cd /tmp; sudo -u $username git clone https://aur.archlinux.org/paru-bin.git" - runInChroot "cd /tmp/paru-bin; sudo -u $username makepkg -si --noconfirm; cd ..; rm -rf paru-bin" 2>&1 | debug + runInChroot "cd /tmp; sudo -u $username git clone https://aur.archlinux.org/paru-bin.git; cd paru-bin; sudo -u $username makepkg -si --noconfirm" 2>&1 | debug fi }