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 /xcheckmypkgs | |
parent | 88a610364577df093598f9824f0ade1a6e1820a2 (diff) | |
download | xtools-c6709af75061196ace55db380aeff045715ba4e4.tar.gz xtools-c6709af75061196ace55db380aeff045715ba4e4.tar.xz xtools-c6709af75061196ace55db380aeff045715ba4e4.zip |
add xcheckmypkgs
Based on #45 by @diogoleal. Closes #45.
Diffstat (limited to 'xcheckmypkgs')
-rwxr-xr-x | xcheckmypkgs | 8 |
1 files changed, 8 insertions, 0 deletions
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 |