Created
May 25, 2022 19:59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
paru | |
if [[ $(paru -Qtdq) == "" ]]; | |
then | |
echo -e '\n' | |
echo -e 'No orphaned packages found ...' | |
else | |
paru -Qtdq | paru -Rns - | |
fi | |
echo -e '\n' | |
echo -e '\033[1mPress any key to exit, if you can find it\033[0m' | |
read | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment