Wrote some more code

This commit is contained in:
Mike Staszel 2010-10-07 14:53:13 -05:00
parent 51421b450d
commit 86aa2240dd

View file

@ -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 "<h2>" ; echo $1 ; echo "</h2>"
echo ""
for i in `find . -maxdepth 1 -mindepth 1 -type d`; do
cd $ABSDIR/$1/$i > /dev/null 2>&1
echo "<b>"
grep pkgname= PKGBUILD | sed -e 's/pkgname=//'
echo "</b>"
grep pkgver= PKGBUILD | sed -e 's/pkgver=//'
echo "<br />"
echo ""
done
echo "<br /><br /><h2>In Repository</h2>"
cd $REPODIR/$1
ls | sed 's#.pkg.tar.xz#<br />#' | sed '#s#.pkg.tar.gz#<br />#' | sed 's#core.db.tar.gz##' | sed 's#extra.db.tar.gz##' | sed 's#community.db.tar.gz##'