summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xupdate3
1 files changed, 2 insertions, 1 deletions
diff --git a/update b/update
index a48393c..3643f0f 100755
--- a/update
+++ b/update
@@ -37,9 +37,10 @@ function update_gem() {
}
function update_pkgs() {
- sudo_run "pacman -Syu" || return
sudo_run "pacman -Scc --noconfirm"
+ sudo_run "pacman -Syu" || return
sudo_run "rm /var/cache/pacman/pkg/*"
+ run "aurman -Sc --noconfirm"
run "aurman -Syu"
}