Update clean script
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
0d50ce0959
commit
4e408b652b
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@
|
|||
. utils
|
||||
|
||||
print_section "Remove unneeded dependencies"
|
||||
yay -R $(yay -Qdtq)
|
||||
mapfile -t UNNEEDED_DEPENDENCIES < <(yay -Qdtq)
|
||||
yay -R "${UNNEEDED_DEPENDENCIES[@]}"
|
||||
|
||||
print_section "Clean yay cache"
|
||||
yay -Sc
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue