diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2019-06-04 09:21:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2019-06-04 09:21:08 +0200 |
commit | ff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62 (patch) | |
tree | 288f2be4b25106a3705ba902937edbae8d799bb0 | |
parent | 3ef2e1e1a0a4e6c5fb60335c501decfd3cb84c69 (diff) | |
download | bin-ff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62.zip bin-ff95f13c9d3f3eafa3d4f5dac7b5db5757e3fa62.tar.gz |
update : fix aurman cleanup
-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" } |