Update yaourt install
This commit is contained in:
parent
1602d6142e
commit
8af198ccd9
1 changed files with 8 additions and 6 deletions
|
@ -71,12 +71,14 @@ checkaurdependencies(){
|
|||
echo "aurbuilder ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/aurbuilder
|
||||
echo "root ALL=(aurbuilder) NOPASSWD: ALL" >> /etc/sudoers.d/aurbuilder
|
||||
fi
|
||||
if [ ! -f /usr/bin/package-query ]; then
|
||||
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
|
||||
fi
|
||||
}
|
||||
checkarchlinuxfrrepo(){
|
||||
if [ ! $(cat /etc/pacman.conf | grep "archlinuxfr") ]; then
|
||||
|
|
Loading…
Reference in a new issue