Update yaourt install
This commit is contained in:
parent
036c9ffc39
commit
4bb89ac21c
1 changed files with 14 additions and 2 deletions
16
updates/menu
16
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')
|
||||
|
|
Loading…
Reference in a new issue