From c6709af75061196ace55db380aeff045715ba4e4 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 10 Jul 2016 16:34:15 +0200 Subject: add xcheckmypkgs Based on #45 by @diogoleal. Closes #45. --- README | 1 + xcheckmypkgs | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100755 xcheckmypkgs 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 -- cgit 1.4.1