From 460be61c27d8c28762d5a6db319551500fddc36d Mon Sep 17 00:00:00 2001 From: MatMoul Date: Mon, 11 Jan 2016 20:14:42 +0100 Subject: [PATCH] Update clean cache on update menu --- updates/menu | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/updates/menu b/updates/menu index 73effaa..d6c7e38 100644 --- a/updates/menu +++ b/updates/menu @@ -16,8 +16,8 @@ if [ ! "$aurhelper" = "1" ]; then options+=("" "") fi options+=("Upgrade" "pacman -Syu") -options+=("Clean" "pacman -Sc") options+=("Clean orphan" "pacman -Rns $(pacman -Qqtd)") +options+=("Clean cache" "pacman -Sc") options+=("" "") options+=("Edit pacman.conf" "") options+=("Edit mirrorlist" "") @@ -81,10 +81,8 @@ case $sel in checkaurdependencies sudo -u aurbuilder packer -Syu ;; - 'Clean') pacman -Sc;; - 'Clean orphan') - pacman -Rns $(pacman -Qqtd) - ;; + 'Clean orphan') pacman -Rns $(pacman -Qqtd);; + 'Clean cache') pacman -Sc;; 'Edit pacman.conf') nano /etc/pacman.conf;; 'Edit mirrorlist') nano /etc/pacman.d/mirrorlist;; 'Remove db.lck') rm /var/lib/pacman/db.lck;;