summaryrefslogtreecommitdiffstats
path: root/update
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2019-06-04 09:21:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2019-06-04 09:21:08 +0200
commitff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62 (patch)
tree288f2be4b25106a3705ba902937edbae8d799bb0 /update
parent3ef2e1e1a0a4e6c5fb60335c501decfd3cb84c69 (diff)
downloadbin-ff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62.zip
bin-ff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62.tar.gz
update : fix aurman cleanup
Diffstat (limited to 'update')
-rwxr-xr-xupdate2
1 files changed, 1 insertions, 1 deletions
diff --git a/update b/update
index c38db82..5fd90e0 100755
--- a/update
+++ b/update
@@ -40,7 +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 "find .cache/aurman/ -maxdepth 1 -type d -exec rm -fr '{}' \;"
run "aurman -Sc --noconfirm"
run "aurman -Syu"
}