master
Toerd 6 years ago
parent 750a34e08a
commit 4cad4d1081

@ -88,8 +88,9 @@ 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 "$(sudo -u '$uname' mktemp -d)" || exit
git clone https://aur.archlinux.org/yay.git . &>> $logfile
d=$(sudo -u '$uname' mktemp -d) || exit
git clone https://aur.archlinux.org/yay.git $d &>> $logfile
cd $d
sudo -u "$uname" makepkg --noconfirm -si &>> $logfile
}

Loading…
Cancel
Save