Update yaourt install

This commit is contained in:
MatMoul 2018-06-05 01:11:59 +02:00
parent 1602d6142e
commit 8af198ccd9

View file

@ -71,12 +71,14 @@ checkaurdependencies(){
echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder
echo "root ALL=(aurbuilder) NOPASSWD: ALL" >> /etc/sudoers.d/aurbuilder echo "root ALL=(aurbuilder) NOPASSWD: ALL" >> /etc/sudoers.d/aurbuilder
fi fi
mkdir /tmp/aurbuilder if [ ! -f /usr/bin/package-query ]; then
chmod 777 /tmp/aurbuilder mkdir /tmp/aurbuilder
cd /tmp/aurbuilder chmod 777 /tmp/aurbuilder
sudo -u aurbuilder git clone https://aur.archlinux.org/package-query.git cd /tmp/aurbuilder
cd package-query sudo -u aurbuilder git clone https://aur.archlinux.org/package-query.git
sudo -u aurbuilder makepkg -si cd package-query
sudo -u aurbuilder makepkg -si
fi
} }
checkarchlinuxfrrepo(){ checkarchlinuxfrrepo(){
if [ ! $(cat /etc/pacman.conf | grep "archlinuxfr") ]; then if [ ! $(cat /etc/pacman.conf | grep "archlinuxfr") ]; then