Skip to content

Instantly share code, notes, and snippets.

@ntropy83
Created May 25, 2022 19:59
Show Gist options
  • Save ntropy83/420b6f3d8e6ec542cf6c0974c6f440de to your computer and use it in GitHub Desktop.
Save ntropy83/420b6f3d8e6ec542cf6c0974c6f440de to your computer and use it in GitHub Desktop.
#!/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