about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--README1
-rwxr-xr-xxcheckmypkgs8
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