Update unneeded.hook

This commit is contained in:
Leaced 2023-03-23 15:38:04 +01:00 committed by GitHub
parent 0e8d8af6cf
commit b81bf54342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,4 +7,4 @@ Target = *
[Action]
Description = Possibly unneeded packages (e.g. dependency cycles)
When = PostTransaction
Exec = /usr/bin/bash -c "(pacman -Qqd | pacman -Rsup - && /usr/bin/echo 'uninstall all with »pacman -Qqd | pacman -Rsu -«') || /usr/bin/echo '==> None found'"
Exec = /usr/bin/bash -c "(pacman -Qqd | pacman -Rsup - && echo 'uninstall all with »pacman -Qqd | pacman -Rsu -«') || echo '==> None found'"