From ebc8f9b49c018287f83e9092aaebc4f3b45aad63 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Mon, 9 Feb 2009 10:18:09 +0100 Subject: angstrom feed sorter: move feed browser updating and source stripping out of the loop --- contrib/angstrom/sort.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/contrib/angstrom/sort.sh b/contrib/angstrom/sort.sh index d624000d17..21731668ac 100755 --- a/contrib/angstrom/sort.sh +++ b/contrib/angstrom/sort.sh @@ -144,11 +144,6 @@ for i in ../* ; do echo " DONE" cd ${BPWD} -( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) - -echo -n "Stripping source lines from Package files" -for i in `find . -name Packages` ; do grep -v ^Source: $i|gzip -c9>$i.gz ;gunzip -c $i.gz>$i ; touch $i.sig ; done -echo " DONE" } echo "Processing 'all' feed" @@ -164,3 +159,10 @@ if [ "$1" != "--skip-sorted-list" ]; then for i in $(find ../ -name "*.ipk"| grep -v unsorted) ; do basename $i ; done > files-sorted fi +( cd ~/website/repo-updater ; php update.php ; rm ../repo/feeds.db* ; cp feeds.db* ../repo ) + +echo -n "Stripping source lines from Package files" +for i in `find .. -name Packages` ; do grep -v ^Source: $i|gzip -c9>$i.gz ;gunzip -c $i.gz>$i ; touch $i.sig ; done +echo " DONE" + + -- cgit v1.2.3