summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-08-25 08:53:06 +0000
committerKoen Kooi <koen@openembedded.org>2006-08-25 08:53:06 +0000
commit4305ea8adac4c2ab1235553496a21e8c4c63a039 (patch)
tree4eedf9b92305a20f3b44d54ddc141c09b85b105d /contrib
parent9f9722dc610bdcf38d278f0e65db0fe805ab5448 (diff)
feed-browser: also list number of packages per feed after updating
Diffstat (limited to 'contrib')
-rw-r--r--contrib/feed-browser/update.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/feed-browser/update.php b/contrib/feed-browser/update.php
index 1b5e7c34fc..2e12a0481c 100644
--- a/contrib/feed-browser/update.php
+++ b/contrib/feed-browser/update.php
@@ -46,7 +46,7 @@ $feeds = db_query("SELECT f_name, f_uri FROM feeds");
foreach($feeds as $feed)
{
- print("Updating {$feed['f_name']}: {$feed['f_uri']}\n");
+ print("Updating {$feed['f_name']}: {$feed['f_uri']}: ");
db_query_n("DELETE FROM packages WHERE p_feed = '{$feed['f_name']}'");
$count = 0;
@@ -135,6 +135,7 @@ foreach($feeds as $feed)
}
$p_count = $count + $p_count;
+ print("$count packages\n");
gzclose($packagesgz_h);
}
//close the db