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;;