Skip to content
New issue

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

xmyupd #171

Open
Anachron opened this issue Mar 17, 2020 · 0 comments
Open

xmyupd #171

Anachron opened this issue Mar 17, 2020 · 0 comments

Comments

@Anachron
Copy link

Anachron commented Mar 17, 2020

Maybe useful for some people: A script that compares void-packages to your locally installed packages and only lists the last update accordingly.

#!/bin/sh

vu="${XDG_CACHE_HOME:-$HOME/.cache/}/xmyupd.txt"; ! test -f "${vu}" || find "${vu}" -mtime 1
 -delete
test -f "${vu}" || curl -s "https://repo-default.voidlinux.org/void-updates/void-updates.txt" > "${vu}" 
xpkg | sort | awk '{print "^"$0" "}' | grep -w -f - "${vu}" | awk '{print $1" "$4}'  | sort -k2rn | sort -sbuk1,1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant