improve cleanup for pacman

This commit is contained in:
Nemo 2021-06-04 15:10:01 +05:30
parent 11b2ddd5f7
commit cf09f66b60
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ PERSONAL_ROOT="/home/nemo/projects/personal"
find $PERSONAL_ROOT -maxdepth 2 -type d -iname .git | xargs -I{} bash -c "cd {}/.. && karn update"
echo "karn update"
find /home/nemo/.cache/yay -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|part\|rpm\|gz\)$' -delete
find /home/nemo/.cache/yay -iregex '.*\.\(bz2\|tar\|zip\|deb\|xz\|part\|rpm\|gz\|zst\|AppImage\|pacman\|jar\)$' -delete
echo "Cleared yay cache"
find /home/nemo/projects/personal/aur-* -iregex '.*\.\(bz2\|tar\|zip\|deb\|tar.zst\|xz\|part\|rpm\|gz\)$' -delete