about summary refs log tree commit diff
path: root/xcheckmypkgs
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-07-10 16:34:15 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-07-10 16:34:15 +0200
commitc6709af75061196ace55db380aeff045715ba4e4 (patch)
tree6ab1963b4180e838cf062e5a88f1ef0212480a6d /xcheckmypkgs
parent88a610364577df093598f9824f0ade1a6e1820a2 (diff)
downloadxtools-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-xxcheckmypkgs8
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