From 016354b7987a3d6e7e28d971c37db6b47483bfe9 Mon Sep 17 00:00:00 2001 From: phga Date: Sat, 12 Mar 2022 18:36:55 +0100 Subject: [PATCH] fix: folder permission tmp --- fresh.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fresh.sh b/fresh.sh index bb82e58..60d9c80 100755 --- a/fresh.sh +++ b/fresh.sh @@ -114,7 +114,7 @@ install_aur_helper() { dialog --title "Installing the AUR Helper" --infobox "Installing dependencies..." 0 0 pacman --noconfirm --needed -S go &>> $logfile dialog --title "Installing the AUR Helper" --infobox "Cloning repository..." 0 0 - cd $(mktemp -d) + cd $(sudo - u $uname mktemp -d) git clone https://aur.archlinux.org/yay.git . &>> $logfile sudo -u $uname makepkg --noconfirm -s &>> $logfile pacman -U --noconfirm *.zst