From 4bb89ac21ccef420f7d5b0f0aa7c434360dcaf7b Mon Sep 17 00:00:00 2001 From: MatMoul Date: Tue, 5 Jun 2018 01:03:58 +0200 Subject: [PATCH] Update yaourt install --- updates/menu | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/updates/menu b/updates/menu index a275878..01d161d 100644 --- a/updates/menu +++ b/updates/menu @@ -68,6 +68,12 @@ checkaurdependencies(){ echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder echo "root ALL=(aurbuilder) NOPASSWD: ALL" >> /etc/sudoers.d/aurbuilder fi + mkdir /tmp/aurbuilder + chmod 777 /tmp/aurbuilder + cd /tmp/aurbuilder + sudo -u aurbuilder git clone https://aur.archlinux.org/package-query.git + cd package-query + sudo -u aurbuilder makepkg -si } checkarchlinuxfrrepo(){ if [ ! $(cat /etc/pacman.conf | grep "archlinuxfr") ]; then @@ -104,8 +110,14 @@ case $sel in if(confirm "Yaourt allow you to access the AUR applications.\nBecause is not possible to compile applications as root,\nthis installer create an aurbuilder user.\n\nInstall yaourt ?") then clear checkaurdependencies - checkarchlinuxfrrepo - pacman -S --needed yaourt + #checkarchlinuxfrrepo + #pacman -S --needed yaourt + mkdir /tmp/aurbuilder + chmod 777 /tmp/aurbuilder + cd /tmp/aurbuilder + sudo -u aurbuilder git clone https://aur.archlinux.org/yaourt.git + cd yaourt + sudo -u aurbuilder makepkg -si fi ;; 'Install packer')