From 86aa2240dd6a8f88c6ffcaa8b4c7d6226a4ad233 Mon Sep 17 00:00:00 2001 From: Mike Staszel Date: Thu, 7 Oct 2010 14:53:13 -0500 Subject: [PATCH] Wrote some more code --- scripts/pkgverchecker | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/scripts/pkgverchecker b/scripts/pkgverchecker index 1fa0a7b89..0575b2cee 100755 --- a/scripts/pkgverchecker +++ b/scripts/pkgverchecker @@ -5,12 +5,23 @@ # output the differences, i.e. what packages need to be upgraded. ABSDIR=/build/abs +REPODIR=/build/packages cd $ABSDIR/$1 + echo "

" ; echo $1 ; echo "

" + echo "" + for i in `find . -maxdepth 1 -mindepth 1 -type d`; do cd $ABSDIR/$1/$i > /dev/null 2>&1 + echo "" grep pkgname= PKGBUILD | sed -e 's/pkgname=//' + echo "" grep pkgver= PKGBUILD | sed -e 's/pkgver=//' + echo "
" echo "" done + + echo "

In Repository

" + cd $REPODIR/$1 + ls | sed 's#.pkg.tar.xz#
#' | sed '#s#.pkg.tar.gz#
#' | sed 's#core.db.tar.gz##' | sed 's#extra.db.tar.gz##' | sed 's#community.db.tar.gz##'