mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
Wrote some more code
This commit is contained in:
parent
51421b450d
commit
86aa2240dd
1 changed files with 11 additions and 0 deletions
|
@ -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##'
|
||||
|
|
Loading…
Reference in a new issue