summaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-05-26 19:37:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2019-05-26 19:37:59 +0200
commit3ef2e1e1a0a4e6c5fb60335c501decfd3cb84c69 (patch)
tree6a2203fb32af8f3f1e1b037faed044f1e30cf399 /update
parent15c92378d9c2769620cc9f426fbd4b3a365ca406 (diff)
downloadbin-3ef2e1e1a0a4e6c5fb60335c501decfd3cb84c69.zip
bin-3ef2e1e1a0a4e6c5fb60335c501decfd3cb84c69.tar.gz
update : remove aurman cache directories
Diffstat (limited to 'update')
-rwxr-xr-xupdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/update b/update
index 3643f0f..c38db82 100755
--- a/update
+++ b/update
@@ -40,6 +40,7 @@ function update_pkgs() {
sudo_run "pacman -Scc --noconfirm"
sudo_run "pacman -Syu" || return
sudo_run "rm /var/cache/pacman/pkg/*"
+ run "find .cache/aurman/ -type d -delete"
run "aurman -Sc --noconfirm"
run "aurman -Syu"
}