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