checkupdates provides a way of checking for new updates without
touching the local sync database. Based heavily on a script
by Dave Reisner.
---
contrib/.gitignore | 1 +
contrib/Makefile.am | 3 +++
contrib/checkupdates.in | 44 ++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+), 0 deletions(-)
create mode 100644 contrib/checkupdates.in
diff --git a/contrib/.gitignore b/contrib/.gitignore
index 19b81e0..36c0918 100644
--- a/contrib/.gitignore
+++ b/contrib/.gitignore
@@ -1,5 +1,6 @@
bacman
bash_completion
+checkupdates
paccache
pacdiff
paclist
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index eca39e7..1ead042 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -6,6 +6,7 @@ bin_SCRIPTS = \
OURSCRIPTS = \
bacman \
+ checkupdates \
paccache \
pacdiff \
paclist \
@@ -22,6 +23,7 @@ EXTRA_DIST = \
PKGBUILD.vim \
bacman.in \
bash_completion.in \
+ checkupdates.in \
paccache.in \
paclog-pkglist.in \
pacdiff.in \
@@ -76,6 +78,7 @@ uninstall-local:
bacman: $(srcdir)/bacman.in
bash_completion: $(srcdir)/bash_completion.in
+checkupdates: $(srcdir)/checkupdates.in
paccache: $(srcdir)/paccache.in
pacdiff: $(srcdir)/pacdiff.in
paclist: $(srcdir)/paclist.in
diff --git a/contrib/checkupdates.in b/contrib/checkupdates.in
new file mode 100644
index 0000000..e16378f
--- /dev/null
+++ b/contrib/checkupdates.in
@@ -0,0 +1,44 @@
+#!/bin/bash
+#
+# checkupdates: Safely print a list of pending updates.
+#
+# Copyright (c) 2011 Kyle Keen