Update clean script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
1acedd218a
commit
6dd222376f
1 changed files with 7 additions and 0 deletions
|
@ -17,11 +17,18 @@ print_section "Remove unneeded dependencies"
|
|||
mapfile -t UNNEEDED_DEPENDENCIES < <(yay -Qdtq)
|
||||
yay -R "${UNNEEDED_DEPENDENCIES[@]}"
|
||||
|
||||
print_section "Clear makepkg files"
|
||||
print_log "Deleting files in ${YELLOW}${XDG_DATA_HOME}/src/${RESET}"
|
||||
rm -rf "${XDG_DATA_HOME}/src/"*
|
||||
|
||||
print_section "Clean yay cache"
|
||||
yay -Sc
|
||||
|
||||
print_section "Clean composer cache"
|
||||
composer clearcache
|
||||
|
||||
print_section "Clean npm cache"
|
||||
npm cache clean --force
|
||||
|
||||
print_section "Clean docker"
|
||||
docker system prune
|
Loading…
Add table
Add a link
Reference in a new issue