We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script to either list all (-a|--all) packages locally installed that are orphaned or only those with pending updates (-o|--outdated).
-a|--all
orphaned
-o|--outdated
#!/bin/sh orphans=$(xbps-query -p maintainer -s orphan | sed 's/-[^-]*:.*//') case "${1:---all}" in -a|--all) printf '%s\n' "${orphans}";; -o|--outdated) regex=$(printf '%s\n' "${orphans}" | tr '\n' '|' | sed 's;|$;;g') curl -s "https://repo-default.voidlinux.org/void-updates/void-updates_$(date +%Y-%m-%d).txt" \ | grep -E "^(${regex}) ";; esac
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Script to either list all (
-a|--all
) packages locally installed that areorphaned
or only those with pending updates (-o|--outdated
).The text was updated successfully, but these errors were encountered: