move aurbuilder sudo right to /etc/sudoers.d/aurbuilder

This commit is contained in:
MatMoul 2015-10-13 21:53:20 +02:00
parent d2a7713759
commit fa143b9b0e

View file

@ -64,8 +64,14 @@ checkarchlinuxfrrepo(){
clear
case $sel in
'Upgrade') pacman -Syu;;
'Upgrade with yaourt') sudo -u aurbuilder yaourt -Syua;;
'Upgrade with packer') sudo -u aurbuilder packer -Syu;;
'Upgrade with yaourt')
checkaurdependencies
sudo -u aurbuilder yaourt -Syua
;;
'Upgrade with packer')
checkaurdependencies
sudo -u aurbuilder packer -Syu
;;
'Clean') pacman -Sc;;
'Edit pacman.conf') nano /etc/pacman.conf;;
'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;;