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 clear
case $sel in case $sel in
'Upgrade') pacman -Syu;; 'Upgrade') pacman -Syu;;
'Upgrade with yaourt') sudo -u aurbuilder yaourt -Syua;; 'Upgrade with yaourt')
'Upgrade with packer') sudo -u aurbuilder packer -Syu;; checkaurdependencies
sudo -u aurbuilder yaourt -Syua
;;
'Upgrade with packer')
checkaurdependencies
sudo -u aurbuilder packer -Syu
;;
'Clean') pacman -Sc;; 'Clean') pacman -Sc;;
'Edit pacman.conf') nano /etc/pacman.conf;; 'Edit pacman.conf') nano /etc/pacman.conf;;
'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;; 'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;;