fix: folder permission tmp

master
phga 3 years ago
parent 66a588d30f
commit 016354b798
Signed by: phga
GPG Key ID: 5249548AA705F019

@ -114,7 +114,7 @@ install_aur_helper() {
dialog --title "Installing the AUR Helper" --infobox "Installing dependencies..." 0 0 dialog --title "Installing the AUR Helper" --infobox "Installing dependencies..." 0 0
pacman --noconfirm --needed -S go &>> $logfile pacman --noconfirm --needed -S go &>> $logfile
dialog --title "Installing the AUR Helper" --infobox "Cloning repository..." 0 0 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 git clone https://aur.archlinux.org/yay.git . &>> $logfile
sudo -u $uname makepkg --noconfirm -s &>> $logfile sudo -u $uname makepkg --noconfirm -s &>> $logfile
pacman -U --noconfirm *.zst pacman -U --noconfirm *.zst

Loading…
Cancel
Save