From fa143b9b0ec6e5b0bbdc5c138ee2e7f057451064 Mon Sep 17 00:00:00 2001 From: MatMoul Date: Tue, 13 Oct 2015 21:53:20 +0200 Subject: [PATCH] move aurbuilder sudo right to /etc/sudoers.d/aurbuilder --- updates/menu | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/updates/menu b/updates/menu index 9b364ed..8a483e4 100644 --- a/updates/menu +++ b/updates/menu @@ -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;;