diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-10 16:34:15 +0200 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2016-07-10 16:34:15 +0200 |
commit | c6709af75061196ace55db380aeff045715ba4e4 (patch) | |
tree | 6ab1963b4180e838cf062e5a88f1ef0212480a6d | |
parent | 88a610364577df093598f9824f0ade1a6e1820a2 (diff) | |
download | xtools-c6709af75061196ace55db380aeff045715ba4e4.tar.gz xtools-c6709af75061196ace55db380aeff045715ba4e4.tar.xz xtools-c6709af75061196ace55db380aeff045715ba4e4.zip |
add xcheckmypkgs
Based on #45 by @diogoleal. Closes #45.
-rw-r--r-- | README | 1 | ||||
-rwxr-xr-x | xcheckmypkgs | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/README b/README index ee64b87..918fa39 100644 --- a/README +++ b/README @@ -7,6 +7,7 @@ https://github.com/voidlinux/xbps xbuildbarf [ARCH] - spy on current buildbot output xbulk [-n] [-k] [xbps-src flags...] PKGS... - simple XBPS bulk builder xbump PKGNAME [git commit options] - git commit a version bump + xcheckmypkgs [EMAIL] - check your packages for updates xcheckrestart [-v] - list programs using outdated libraries xclash - detect file conflicts between XBPS packages xdbg PKGS... - list debugging packages for PKGS and recursive dependencies diff --git a/xcheckmypkgs b/xcheckmypkgs new file mode 100755 index 0000000..3fe3ef3 --- /dev/null +++ b/xcheckmypkgs @@ -0,0 +1,8 @@ +#!/bin/sh +# xcheckmypkgs [EMAIL] - check your packages for updates + +cd "$(xdistdir)" && +for pkg in $(xmypkgs "$@"); do + echo "checking: $pkg" + ./xbps-src update-check "$pkg" |grep -v '^=> Using' +done |