summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
}