diff options
-rwxr-xr-x | update | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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" } |